diff options
| author | 2016-04-07 16:03:51 +0000 | |
|---|---|---|
| committer | 2016-04-07 16:03:51 +0000 | |
| commit | 8913162a5959035f100f608fd5ccc348cf3922cf (patch) | |
| tree | d3e6dd3e0c8e35288db04a263438c7a0081b2bb3 /compiler/optimizing/optimizing_unit_test.h | |
| parent | 950dd553041b324e9e343a60d94d45596b5c7926 (diff) | |
| parent | dee58d6bb6d567fcd0c4f39d8d690c3acaf0e432 (diff) | |
Merge "Revert "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 b140125d14..dd5cb1c9bb 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, return_type); - bool graph_built = (builder.BuildGraph(&handles) == kAnalysisSuccess); + HGraphBuilder builder(graph, *item, &handles, return_type); + bool graph_built = (builder.BuildGraph() == kAnalysisSuccess); return graph_built ? graph : nullptr; } } |