From c08fb725b561ead05dc120f2e92ea5228d14eec0 Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Thu, 15 Aug 2024 07:40:38 +0000 Subject: 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 --- compiler/optimizing/graph_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/optimizing/graph_test.cc') 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(if_block, instr, instr); + HInstruction* equal = MakeCondition(if_block, kCondEQ, instr, instr); MakeIf(if_block, equal); return if_block; } -- cgit v1.2.3-59-g8ed1b