summaryrefslogtreecommitdiffstats
path: root/compiler/optimizing/live_ranges_test.cc
diff options
context:
space:
mode:
authorNicolas Geoffray <ngeoffray@google.com>2014-12-01 10:31:54 +0000
committerNicolas Geoffray <ngeoffray@google.com>2014-12-15 22:52:27 +0000
commite53798a7e3267305f696bf658e418c92e63e0834 (patch)
tree8979bbed96b107a5a6bbae9285ff4e0c362dad95 /compiler/optimizing/live_ranges_test.cc
parente6c0cdd11097dd72275ac24f1e98217c299d973e (diff)
downloadart-e53798a7e3267305f696bf658e418c92e63e0834.zip
art-e53798a7e3267305f696bf658e418c92e63e0834.tar.gz
art-e53798a7e3267305f696bf658e418c92e63e0834.tar.bz2
Inlining support in optimizing.
Currently only inlines simple things that don't require an environment, such as: - Returning a constant. - Returning a parameter. - Returning an arithmetic operation. Change-Id: Ie844950cb44f69e104774a3cf7a8dea66bc85661
Diffstat (limited to 'compiler/optimizing/live_ranges_test.cc')
-rw-r--r--compiler/optimizing/live_ranges_test.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/optimizing/live_ranges_test.cc b/compiler/optimizing/live_ranges_test.cc
index 5c7e6f0..007c43e 100644
--- a/compiler/optimizing/live_ranges_test.cc
+++ b/compiler/optimizing/live_ranges_test.cc
@@ -36,9 +36,7 @@ static HGraph* BuildGraph(const uint16_t* data, ArenaAllocator* allocator) {
// Suspend checks implementation may change in the future, and this test relies
// on how instructions are ordered.
RemoveSuspendChecks(graph);
- graph->BuildDominatorTree();
- graph->TransformToSSA();
- graph->AnalyzeNaturalLoops();
+ graph->TryBuildingSsa();
// `Inline` conditions into ifs.
PrepareForRegisterAllocation(graph).Run();
return graph;