commit | c32e770f21540e4e9eda6dc7f770e745d33f1b9f | [log] [tgz] |
---|---|---|
author | Nicolas Geoffray <ngeoffray@google.com> | Thu Apr 24 12:43:16 2014 +0100 |
committer | Nicolas Geoffray <ngeoffray@google.com> | Mon Apr 28 16:21:40 2014 +0100 |
tree | 56a76d7399bf749a4500fb60483e0dc075a24ee7 | |
parent | 618a87009202dc959c935ed8f237ae32bdec57d0 [diff] [blame] |
Add a Transform to SSA phase to the optimizing compiler. Change-Id: Ia9700756a0396d797a00b529896487d52c989329
diff --git a/compiler/optimizing/optimizing_compiler.cc b/compiler/optimizing/optimizing_compiler.cc index d19c40c..9438890 100644 --- a/compiler/optimizing/optimizing_compiler.cc +++ b/compiler/optimizing/optimizing_compiler.cc
@@ -100,6 +100,10 @@ std::vector<uint8_t> gc_map; codegen->BuildNativeGCMap(&gc_map, dex_compilation_unit); + // Run these phases to get some test coverage. + graph->BuildDominatorTree(); + graph->TransformToSSA(); + return new CompiledMethod(driver, instruction_set, allocator.GetMemory(),