diff options
| author | 2016-01-28 16:25:00 +0000 | |
|---|---|---|
| committer | 2016-01-28 16:25:00 +0000 | |
| commit | 6f06fdb008d8f3d5fca09db5a22b6a2a23eced42 (patch) | |
| tree | c2ccdaed8113a303034aca1f13457c0e284a7f2f /compiler/optimizing/codegen_test.cc | |
| parent | 9ff1de06d6ed1da36f7e976224a2d13e5e9882bf (diff) | |
| parent | b11b0725d02aafd6e3ea4eb514b215149c893bf0 (diff) | |
Merge "ART: Fix gtest after liveness CL"
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]; |