diff options
author | 2015-03-17 17:09:30 +0000 | |
---|---|---|
committer | 2015-03-17 18:10:19 +0000 | |
commit | 216eaa2927f424821a03d7c4c6bf701fdb48e865 (patch) | |
tree | 0c4d0e5302723c4955eb22f260af8500c31768d2 /compiler/dex/quick/quick_compiler.cc | |
parent | a67f4b37b216d3bf84d3e204a0d71d8d4660fab4 (diff) |
Fall back to Quick when Optimizing cannot compile.
Currently applies when seeing unresolved types/methods/fields,
and methods with try/catch.
Change-Id: I93b12d440b39f0b9faf98f08f2bfddedfeff7182
Diffstat (limited to 'compiler/dex/quick/quick_compiler.cc')
-rw-r--r-- | compiler/dex/quick/quick_compiler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/dex/quick/quick_compiler.cc b/compiler/dex/quick/quick_compiler.cc index 02d74a0691..922f2f7ad7 100644 --- a/compiler/dex/quick/quick_compiler.cc +++ b/compiler/dex/quick/quick_compiler.cc @@ -708,7 +708,7 @@ CompiledMethod* QuickCompiler::Compile(const DexFile::CodeItem* code_item, } /* Create the pass driver and launch it */ - PassDriverMEOpts pass_driver(GetPreOptPassManager(), &cu); + PassDriverMEOpts pass_driver(GetPreOptPassManager(), GetPostOptPassManager(), &cu); pass_driver.Launch(); /* For non-leaf methods check if we should skip compilation when the profiler is enabled. */ |