summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_test.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2024-08-15 07:40:38 +0000
committer Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2024-08-21 09:12:50 +0000
commitc08fb725b561ead05dc120f2e92ea5228d14eec0 (patch)
treec306cd68d8f26a33b3c45e2f07db695dccc00e6e /compiler/optimizing/graph_test.cc
parent1ea8807afeea6cd48127449cbd10458cc32cf4ce (diff)
Change `MakeCondition()` to take `IfCondition`...
... instead of the instruction type argument. And continue with loop construction cleanup in gtests. Test: m test-art-host-gtest Change-Id: I8cb83ae0c6d3cdb2a2ee4da0608cfeb69df722eb
Diffstat (limited to 'compiler/optimizing/graph_test.cc')
-rw-r--r--compiler/optimizing/graph_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/graph_test.cc b/compiler/optimizing/graph_test.cc
index 46c93aff84..5b43af3564 100644
--- a/compiler/optimizing/graph_test.cc
+++ b/compiler/optimizing/graph_test.cc
@@ -38,7 +38,7 @@ HBasicBlock* GraphTest::CreateIfBlock(HGraph* graph) {
HBasicBlock* if_block = new (GetAllocator()) HBasicBlock(graph);
graph->AddBlock(if_block);
HInstruction* instr = graph->GetIntConstant(4);
- HInstruction* equal = MakeCondition<HEqual>(if_block, instr, instr);
+ HInstruction* equal = MakeCondition(if_block, kCondEQ, instr, instr);
MakeIf(if_block, equal);
return if_block;
}