diff options
Diffstat (limited to 'compiler/optimizing/register_allocator_test.cc')
-rw-r--r-- | compiler/optimizing/register_allocator_test.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler/optimizing/register_allocator_test.cc b/compiler/optimizing/register_allocator_test.cc index b757a3b9b9..7a2d84b056 100644 --- a/compiler/optimizing/register_allocator_test.cc +++ b/compiler/optimizing/register_allocator_test.cc @@ -596,6 +596,8 @@ static HGraph* BuildFieldReturn(ArenaAllocator* allocator, graph->AddBlock(exit); block->AddSuccessor(exit); exit->AddInstruction(new (allocator) HExit()); + + graph->BuildDominatorTree(); return graph; } @@ -658,6 +660,8 @@ static HGraph* BuildTwoSubs(ArenaAllocator* allocator, block->AddInstruction(*second_sub); block->AddInstruction(new (allocator) HExit()); + + graph->BuildDominatorTree(); return graph; } @@ -719,6 +723,8 @@ static HGraph* BuildDiv(ArenaAllocator* allocator, block->AddInstruction(*div); block->AddInstruction(new (allocator) HExit()); + + graph->BuildDominatorTree(); return graph; } |