diff options
author | 2016-04-04 17:48:02 +0000 | |
---|---|---|
committer | 2016-04-04 17:48:02 +0000 | |
commit | 7d9a5b0fbceef5806f059060d47533b9e699ec28 (patch) | |
tree | 411f4f2a709efdbf2b3d54cb40ee271061cb30bb /compiler/optimizing/optimizing_unit_test.h | |
parent | 75c221dcffab45e3c1e4ba8b8cd048c87497334f (diff) | |
parent | 60328910cad396589474f8513391ba733d19390b (diff) |
Merge "Revert "Refactor HGraphBuilder and SsaBuilder to remove HLocals""
Diffstat (limited to 'compiler/optimizing/optimizing_unit_test.h')
-rw-r--r-- | compiler/optimizing/optimizing_unit_test.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/optimizing/optimizing_unit_test.h b/compiler/optimizing/optimizing_unit_test.h index dd5cb1c9bb..b140125d14 100644 --- a/compiler/optimizing/optimizing_unit_test.h +++ b/compiler/optimizing/optimizing_unit_test.h @@ -91,8 +91,8 @@ inline HGraph* CreateCFG(ArenaAllocator* allocator, { ScopedObjectAccess soa(Thread::Current()); StackHandleScopeCollection handles(soa.Self()); - HGraphBuilder builder(graph, *item, &handles, return_type); - bool graph_built = (builder.BuildGraph() == kAnalysisSuccess); + HGraphBuilder builder(graph, *item, return_type); + bool graph_built = (builder.BuildGraph(&handles) == kAnalysisSuccess); return graph_built ? graph : nullptr; } } |