summaryrefslogtreecommitdiff
path: root/compiler/optimizing/optimizing_unit_test.h
diff options
context:
space:
mode:
author David Brazdil <dbrazdil@google.com> 2016-04-04 11:12:14 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2016-04-04 11:12:14 +0000
commita999af471f4288b7f7e03b59f66e2387839676bf (patch)
treed578d27cb78e6d2caef683cd8ac94c9a9752b192 /compiler/optimizing/optimizing_unit_test.h
parenta2013f66442bfe429f027b6f8fb5f88635fe51d5 (diff)
parente3ff7b293be2a6791fe9d135d660c0cffe4bd73f (diff)
Merge "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;
}
}