Revision: 24718
Author:   [email protected]
Date:     Mon Oct 20 07:43:56 2014 UTC
Log:      some static casts for windows to fix r24717

[email protected]

BUG=

Review URL: https://codereview.chromium.org/660843003
https://code.google.com/p/v8/source/detail?r=24718

Modified:
 /branches/bleeding_edge/src/compiler/instruction.cc

=======================================
--- /branches/bleeding_edge/src/compiler/instruction.cc Mon Oct 20 07:32:01 2014 UTC +++ /branches/bleeding_edge/src/compiler/instruction.cc Mon Oct 20 07:43:56 2014 UTC
@@ -330,10 +330,10 @@


 InstructionBlock::InstructionBlock(Zone* zone, const BasicBlock* block)
- : successors_(block->SuccessorCount(), BasicBlock::RpoNumber::Invalid(),
-                  zone),
- predecessors_(block->PredecessorCount(), BasicBlock::RpoNumber::Invalid(),
-                    zone),
+    : successors_(static_cast<int>(block->SuccessorCount()),
+                  BasicBlock::RpoNumber::Invalid(), zone),
+      predecessors_(static_cast<int>(block->PredecessorCount()),
+                    BasicBlock::RpoNumber::Invalid(), zone),
       phis_(zone),
       rpo_number_(block->GetRpoNumber()),
       loop_header_(GetRpo(block->loop_header())),

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to