diff options
author | Calin Juravle <calin@google.com> | 2015-10-14 13:53:10 +0000 |
---|---|---|
committer | Calin Juravle <calin@google.com> | 2015-10-14 13:53:10 +0000 |
commit | e6e3beaf2d35d18a79f5e7b60a21e75fac9fd15d (patch) | |
tree | b4164b3862e372a8fb83a1910bb669dedc8664ca /compiler/optimizing/induction_var_analysis_test.cc | |
parent | c05aca78fad20901ae17902a3671ccfca9071758 (diff) |
Revert "Revert "optimizing: propagate type information of arguments""
This reverts commit 89c0d32437011bbe492fe14c766cd707046ce043.
Change-Id: I603a49794e155cc97410b8836c8ea425bfdc98eb
Diffstat (limited to 'compiler/optimizing/induction_var_analysis_test.cc')
-rw-r--r-- | compiler/optimizing/induction_var_analysis_test.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/optimizing/induction_var_analysis_test.cc b/compiler/optimizing/induction_var_analysis_test.cc index 20492e7152..19af2fb5db 100644 --- a/compiler/optimizing/induction_var_analysis_test.cc +++ b/compiler/optimizing/induction_var_analysis_test.cc @@ -78,7 +78,8 @@ class InductionVarAnalysisTest : public testing::Test { graph_->SetExitBlock(exit_); // Provide entry and exit instructions. - parameter_ = new (&allocator_) HParameterValue(0, Primitive::kPrimNot, true); + parameter_ = new (&allocator_) HParameterValue( + graph_->GetDexFile(), 0, 0, Primitive::kPrimNot, true); entry_->AddInstruction(parameter_); constant0_ = graph_->GetIntConstant(0); constant1_ = graph_->GetIntConstant(1); |