Reviewers: Benedikt Meurer,
Message:
Committed patchset #1 (id:1) manually as 24718 (presubmit successful).
Description:
some static casts for windows to fix r24717
[email protected]
BUG=
Committed: https://code.google.com/p/v8/source/detail?r=24718
Please review this at https://codereview.chromium.org/660843003/
Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+4, -4 lines):
M src/compiler/instruction.cc
Index: src/compiler/instruction.cc
diff --git a/src/compiler/instruction.cc b/src/compiler/instruction.cc
index
74a0d3fb3ca918f83f56082b816b86df4bc44d68..34195707e47f131b8426db239d7d99f50ca13f5f
100644
--- a/src/compiler/instruction.cc
+++ b/src/compiler/instruction.cc
@@ -330,10 +330,10 @@ static BasicBlock::RpoNumber GetLoopEndRpo(const
BasicBlock* block) {
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.