Fix induction_var_range_test.
Change-Id: I43101c5e35f4c516ea4ba3137631508f12703412
diff --git a/compiler/optimizing/induction_var_range_test.cc b/compiler/optimizing/induction_var_range_test.cc
index 56f661e..8fbc59f 100644
--- a/compiler/optimizing/induction_var_range_test.cc
+++ b/compiler/optimizing/induction_var_range_test.cc
@@ -415,7 +415,8 @@
}
TEST_F(InductionVarRangeTest, FindRangeSymbolicTripCount) {
- HInstruction* parameter = new (&allocator_) HParameterValue(0, Primitive::kPrimInt);
+ HInstruction* parameter = new (&allocator_) HParameterValue(
+ graph_->GetDexFile(), 0, 0, Primitive::kPrimInt);
entry_block_->AddInstruction(parameter);
BuildLoop(parameter);
PerformInductionVarAnalysis();
@@ -433,7 +434,8 @@
}
TEST_F(InductionVarRangeTest, CodeGeneration) {
- HInstruction* parameter = new (&allocator_) HParameterValue(0, Primitive::kPrimInt);
+ HInstruction* parameter = new (&allocator_) HParameterValue(
+ graph_->GetDexFile(), 0, 0, Primitive::kPrimInt);
entry_block_->AddInstruction(parameter);
BuildLoop(parameter);
PerformInductionVarAnalysis();