Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Unified Diff: src/compiler/instruction.cc

Issue 660843003: some static casts for windows to fix r24717 (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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())),
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698