Index: src/compiler/loop-variable-optimizer.cc |
diff --git a/src/compiler/loop-variable-optimizer.cc b/src/compiler/loop-variable-optimizer.cc |
index 818cca8cfd67b46b5a96877c7b0a1ff58cfaf77d..64a6409caf933d011f330a0b146f1b04e4d68e9c 100644 |
--- a/src/compiler/loop-variable-optimizer.cc |
+++ b/src/compiler/loop-variable-optimizer.cc |
@@ -149,8 +149,7 @@ class LoopVariableOptimizer::VariableLimits : public ZoneObject { |
}; |
void InductionVariable::AddUpperBound(Node* bound, |
- InductionVariable::ConstraintKind kind, |
- Zone* graph_zone) { |
+ InductionVariable::ConstraintKind kind) { |
if (FLAG_trace_turbo_loop) { |
OFStream os(stdout); |
os << "New upper bound for " << phi()->id() << " (loop " |
@@ -161,8 +160,7 @@ void InductionVariable::AddUpperBound(Node* bound, |
} |
void InductionVariable::AddLowerBound(Node* bound, |
- InductionVariable::ConstraintKind kind, |
- Zone* graph_zone) { |
+ InductionVariable::ConstraintKind kind) { |
if (FLAG_trace_turbo_loop) { |
OFStream os(stdout); |
os << "New lower bound for " << phi()->id() << " (loop " |
@@ -183,16 +181,14 @@ void LoopVariableOptimizer::VisitBackedge(Node* from, Node* loop) { |
NodeProperties::GetControlInput(constraint->left()) == loop) { |
auto var = induction_vars_.find(constraint->left()->id()); |
if (var != induction_vars_.end()) { |
- var->second->AddUpperBound(constraint->right(), constraint->kind(), |
- graph()->zone()); |
+ var->second->AddUpperBound(constraint->right(), constraint->kind()); |
} |
} |
if (constraint->right()->opcode() == IrOpcode::kPhi && |
NodeProperties::GetControlInput(constraint->right()) == loop) { |
auto var = induction_vars_.find(constraint->right()->id()); |
if (var != induction_vars_.end()) { |
- var->second->AddUpperBound(constraint->left(), constraint->kind(), |
- graph()->zone()); |
+ var->second->AddUpperBound(constraint->left(), constraint->kind()); |
} |
} |
} |