diff options
| author | 2017-09-26 09:15:35 +0000 | |
|---|---|---|
| committer | 2017-09-26 09:15:35 +0000 | |
| commit | 4894cdd8ebd4624f0f09c1545c1bbf7ff0bb5bc3 (patch) | |
| tree | d2e2cc57dd046e2bd06cb3cc67e2e9f6950dac87 /compiler/optimizing/loop_optimization_test.cc | |
| parent | d796c61d303424798c8cd35fabb77760255ea2aa (diff) | |
| parent | 0ebe0d83138bba1996e9c8007969b5381d972b32 (diff) | |
Merge "ART: Introduce compiler data type."
Diffstat (limited to 'compiler/optimizing/loop_optimization_test.cc')
| -rw-r--r-- | compiler/optimizing/loop_optimization_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/optimizing/loop_optimization_test.cc b/compiler/optimizing/loop_optimization_test.cc index 1c5603d00f..95718ae388 100644 --- a/compiler/optimizing/loop_optimization_test.cc +++ b/compiler/optimizing/loop_optimization_test.cc @@ -51,7 +51,7 @@ class LoopOptimizationTest : public CommonCompilerTest { parameter_ = new (&allocator_) HParameterValue(graph_->GetDexFile(), dex::TypeIndex(0), 0, - Primitive::kPrimInt); + DataType::Type::kInt32); entry_block_->AddInstruction(parameter_); return_block_->AddInstruction(new (&allocator_) HReturnVoid()); exit_block_->AddInstruction(new (&allocator_) HExit()); @@ -216,8 +216,8 @@ TEST_F(LoopOptimizationTest, SimplifyLoop) { header->AddInstruction(new (&allocator_) HIf(parameter_)); body->AddInstruction(new (&allocator_) HGoto()); - HPhi* phi = new (&allocator_) HPhi(&allocator_, 0, 0, Primitive::kPrimInt); - HInstruction* add = new (&allocator_) HAdd(Primitive::kPrimInt, phi, parameter_); + HPhi* phi = new (&allocator_) HPhi(&allocator_, 0, 0, DataType::Type::kInt32); + HInstruction* add = new (&allocator_) HAdd(DataType::Type::kInt32, phi, parameter_); header->AddPhi(phi); body->AddInstruction(add); |