summaryrefslogtreecommitdiffstats
path: root/compiler/dex/quick
diff options
context:
space:
mode:
authorCalin Juravle <calin@google.com>2015-12-11 11:35:23 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-12-11 11:35:23 +0000
commita79c717fd4de0d7361a51bee1e3cf4f2ff5f085a (patch)
tree7a2a08b0be2a350c612d3afc23835a10580c80f6 /compiler/dex/quick
parentbf479be3a9b25b2126d2c73a3267f18ee52811fb (diff)
parent500c9be1f261a8a95ae7a25f4f8084f43207f313 (diff)
downloadart-a79c717fd4de0d7361a51bee1e3cf4f2ff5f085a.tar.gz
art-a79c717fd4de0d7361a51bee1e3cf4f2ff5f085a.tar.bz2
art-a79c717fd4de0d7361a51bee1e3cf4f2ff5f085a.zip
Merge "Enable profiled guided compilation in dex2oat"
Diffstat (limited to 'compiler/dex/quick')
-rw-r--r--compiler/dex/quick/quick_compiler.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/compiler/dex/quick/quick_compiler.cc b/compiler/dex/quick/quick_compiler.cc
index 05dde9f649..3260a7a050 100644
--- a/compiler/dex/quick/quick_compiler.cc
+++ b/compiler/dex/quick/quick_compiler.cc
@@ -780,14 +780,6 @@ CompiledMethod* QuickCompiler::Compile(const DexFile::CodeItem* code_item,
PassDriverMEOpts pass_driver(GetPreOptPassManager(), GetPostOptPassManager(), &cu);
pass_driver.Launch();
- /* For non-leaf methods check if we should skip compilation when the profiler is enabled. */
- if (cu.compiler_driver->ProfilePresent()
- && !cu.mir_graph->MethodIsLeaf()
- && cu.mir_graph->SkipCompilationByName(PrettyMethod(method_idx, dex_file))) {
- cu.EndTiming();
- return nullptr;
- }
-
if (cu.enable_debug & (1 << kDebugDumpCheckStats)) {
cu.mir_graph->DumpCheckStats();
}