From e53798a7e3267305f696bf658e418c92e63e0834 Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Mon, 1 Dec 2014 10:31:54 +0000 Subject: 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 --- compiler/optimizing/constant_folding_test.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'compiler/optimizing/constant_folding_test.cc') diff --git a/compiler/optimizing/constant_folding_test.cc b/compiler/optimizing/constant_folding_test.cc index a56b9d9a12..cad6683577 100644 --- a/compiler/optimizing/constant_folding_test.cc +++ b/compiler/optimizing/constant_folding_test.cc @@ -38,8 +38,7 @@ static void TestCode(const uint16_t* data, HGraph* graph = CreateCFG(&allocator, data, return_type); ASSERT_NE(graph, nullptr); - graph->BuildDominatorTree(); - graph->TransformToSSA(); + graph->TryBuildingSsa(); StringPrettyPrinter printer_before(graph); printer_before.VisitInsertionOrder(); -- cgit v1.2.3-59-g8ed1b