diff options
author | David Brazdil <dbrazdil@google.com> | 2016-01-28 16:22:40 +0000 |
---|---|---|
committer | David Brazdil <dbrazdil@google.com> | 2016-01-28 16:24:21 +0000 |
commit | b11b0725d02aafd6e3ea4eb514b215149c893bf0 (patch) | |
tree | caa8712fccb1ab63e1951bd9628054a16aeaa71c /compiler/optimizing/codegen_test.cc | |
parent | bee600ff66e3e233274faa1391890ff424a8244e (diff) |
ART: Fix gtest after liveness CL
Change-Id: I2d029044cebe6e1ee7d7efb2e20541060f88c07c
Diffstat (limited to 'compiler/optimizing/codegen_test.cc')
-rw-r--r-- | compiler/optimizing/codegen_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/optimizing/codegen_test.cc b/compiler/optimizing/codegen_test.cc index 19d63de499..322a577bbf 100644 --- a/compiler/optimizing/codegen_test.cc +++ b/compiler/optimizing/codegen_test.cc @@ -671,10 +671,10 @@ TEST_F(CodegenTest, NonMaterializedCondition) { then_block->AddInstruction(new (&allocator) HReturn(constant0)); else_block->AddInstruction(new (&allocator) HReturn(constant1)); - ASSERT_TRUE(equal->NeedsMaterialization()); + ASSERT_FALSE(equal->IsEmittedAtUseSite()); TransformToSsa(graph); PrepareForRegisterAllocation(graph).Run(); - ASSERT_FALSE(equal->NeedsMaterialization()); + ASSERT_TRUE(equal->IsEmittedAtUseSite()); auto hook_before_codegen = [](HGraph* graph_in) { HBasicBlock* block = graph_in->GetEntryBlock()->GetSuccessors()[0]; |