diff options
author | David Brazdil <dbrazdil@google.com> | 2016-02-02 16:15:27 +0000 |
---|---|---|
committer | David Brazdil <dbrazdil@google.com> | 2016-02-12 15:17:50 +0000 |
commit | 6e332529c33be4d7dae5dad3609a839f4c0d3bfc (patch) | |
tree | cedd2e1beb170fd5821136fe974e3f34adfcddc2 /compiler/optimizing/codegen_test.cc | |
parent | d3caabd4f85f86dd744da432993e12935d843a83 (diff) |
ART: Remove HTemporary
Change-Id: I21b984224370a9ce7a4a13a9652503cfb03c5f03
Diffstat (limited to 'compiler/optimizing/codegen_test.cc')
-rw-r--r-- | compiler/optimizing/codegen_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/optimizing/codegen_test.cc b/compiler/optimizing/codegen_test.cc index 322a577bbf..4f37c37e39 100644 --- a/compiler/optimizing/codegen_test.cc +++ b/compiler/optimizing/codegen_test.cc @@ -777,9 +777,9 @@ TEST_F(CodegenTest, MaterializedCondition2) { HIntConstant* cst_rhs = graph->GetIntConstant(rhs[i]); HLessThan cmp_lt(cst_lhs, cst_rhs); if_block->AddInstruction(&cmp_lt); - // We insert a temporary to separate the HIf from the HLessThan and force - // the materialization of the condition. - HTemporary force_materialization(0); + // We insert a dummy instruction to separate the HIf from the HLessThan + // and force the materialization of the condition. + HMemoryBarrier force_materialization(MemBarrierKind::kAnyAny, 0); if_block->AddInstruction(&force_materialization); HIf if_lt(&cmp_lt); if_block->AddInstruction(&if_lt); |