summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author David Brazdil <dbrazdil@google.com> 2015-07-30 18:21:41 +0100
committer David Brazdil <dbrazdil@google.com> 2015-07-30 18:21:41 +0100
commitdbf5d754f542022b0ca35673d9ddd0379202e627 (patch)
treef6edd510ed29e28343d40930953ac60962f18175
parent5d2ed003020feee437683b84e4ea6b8c6a5753e0 (diff)
ART: Fix gtest after GraphChecker CL
Change-Id: Ia85cb9622b3927c401325d87f2d7a52096b7fe5d
-rw-r--r--compiler/optimizing/graph_checker_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/optimizing/graph_checker_test.cc b/compiler/optimizing/graph_checker_test.cc
index eca0d9344f..0f6677519e 100644
--- a/compiler/optimizing/graph_checker_test.cc
+++ b/compiler/optimizing/graph_checker_test.cc
@@ -25,14 +25,14 @@ namespace art {
* Create a simple control-flow graph composed of two blocks:
*
* BasicBlock 0, succ: 1
- * 0: Goto 1
+ * 0: ReturnVoid 1
* BasicBlock 1, pred: 0
* 1: Exit
*/
HGraph* CreateSimpleCFG(ArenaAllocator* allocator) {
HGraph* graph = CreateGraph(allocator);
HBasicBlock* entry_block = new (allocator) HBasicBlock(graph);
- entry_block->AddInstruction(new (allocator) HGoto());
+ entry_block->AddInstruction(new (allocator) HReturnVoid());
graph->AddBlock(entry_block);
graph->SetEntryBlock(entry_block);
HBasicBlock* exit_block = new (allocator) HBasicBlock(graph);