summaryrefslogtreecommitdiff
path: root/compiler/optimizing/optimizing_unit_test.h
diff options
context:
space:
mode:
author David Brazdil <dbrazdil@google.com> 2016-04-07 16:03:51 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2016-04-07 16:03:51 +0000
commit8913162a5959035f100f608fd5ccc348cf3922cf (patch)
treed3e6dd3e0c8e35288db04a263438c7a0081b2bb3 /compiler/optimizing/optimizing_unit_test.h
parent950dd553041b324e9e343a60d94d45596b5c7926 (diff)
parentdee58d6bb6d567fcd0c4f39d8d690c3acaf0e432 (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.h4
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;
}
}