Index: src/compiler/node.cc |
diff --git a/src/compiler/node.cc b/src/compiler/node.cc |
index 8e5c0df215449c78ad48d906d8752ddab33eda4a..cab584270955510647f8e8715c0084d33c27c8bd 100644 |
--- a/src/compiler/node.cc |
+++ b/src/compiler/node.cc |
@@ -24,19 +24,19 @@ void Node::CollectProjections(NodeVector* projections) { |
} |
for (UseIter i = uses().begin(); i != uses().end(); ++i) { |
if ((*i)->opcode() != IrOpcode::kProjection) continue; |
- int32_t index = OpParameter<int32_t>(*i); |
+ int index = OpParameter<int>(*i); |
DCHECK_GE(index, 0); |
- DCHECK_LT(index, static_cast<int32_t>(projections->size())); |
+ DCHECK_LT(index, static_cast<int>(projections->size())); |
DCHECK_EQ(NULL, (*projections)[index]); |
(*projections)[index] = *i; |
} |
} |
-Node* Node::FindProjection(int32_t projection_index) { |
+Node* Node::FindProjection(int projection_index) { |
for (UseIter i = uses().begin(); i != uses().end(); ++i) { |
if ((*i)->opcode() == IrOpcode::kProjection && |
- OpParameter<int32_t>(*i) == projection_index) { |
+ OpParameter<int>(*i) == projection_index) { |
return *i; |
} |
} |