diff options
| author | 2015-03-10 18:12:14 +0000 | |
|---|---|---|
| committer | 2015-03-10 18:12:14 +0000 | |
| commit | 454c15907f9c00b0422356d9b4fa620b1736b572 (patch) | |
| tree | 89edf2d04e44c8adaf95e9d5a3d40698025d4cc3 /compiler/optimizing/optimizing_compiler.cc | |
| parent | 79bf9a9eece6b99ffef61670a8fa2a0a3dbfc6a8 (diff) | |
| parent | 48e702fe11458b334e6abcc8f562729ccb5b27dd (diff) | |
am 48e702fe: Merge "Make the SSA builder honor the debuggable flag."
* commit '48e702fe11458b334e6abcc8f562729ccb5b27dd':
Make the SSA builder honor the debuggable flag.
Diffstat (limited to 'compiler/optimizing/optimizing_compiler.cc')
| -rw-r--r-- | compiler/optimizing/optimizing_compiler.cc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/compiler/optimizing/optimizing_compiler.cc b/compiler/optimizing/optimizing_compiler.cc index eb984248a9..3470595b2c 100644 --- a/compiler/optimizing/optimizing_compiler.cc +++ b/compiler/optimizing/optimizing_compiler.cc @@ -298,8 +298,6 @@ static void RunOptimizations(HGraph* graph, const DexCompilationUnit& dex_compilation_unit, PassInfoPrinter* pass_info_printer, StackHandleScopeCollection* handles) { - SsaRedundantPhiElimination redundant_phi(graph); - SsaDeadPhiElimination dead_phi(graph); HDeadCodeElimination dce(graph); HConstantFolding fold1(graph); InstructionSimplifier simplify1(graph, stats); @@ -317,8 +315,6 @@ static void RunOptimizations(HGraph* graph, IntrinsicsRecognizer intrinsics(graph, dex_compilation_unit.GetDexFile(), driver); HOptimization* optimizations[] = { - &redundant_phi, - &dead_phi, &intrinsics, &dce, &fold1, @@ -461,7 +457,8 @@ CompiledMethod* OptimizingCompiler::Compile(const DexFile::CodeItem* code_item, ArenaPool pool; ArenaAllocator arena(&pool); - HGraph* graph = new (&arena) HGraph(&arena); + HGraph* graph = new (&arena) HGraph( + &arena, compiler_driver->GetCompilerOptions().GetDebuggable()); // For testing purposes, we put a special marker on method names that should be compiled // with this compiler. This makes sure we're not regressing. |