summaryrefslogtreecommitdiffstats
path: root/compiler/dex/mir_analysis.cc
diff options
context:
space:
mode:
authorCalin Juravle <calin@google.com>2014-05-30 23:44:11 +0100
committerCalin Juravle <calin@google.com>2014-06-06 12:14:01 +0100
commitc1b643cc6ac45dbd0eabdcd7425c7e86006c27d6 (patch)
tree250455427da979409a075a2b3197bd43ccd40fe1 /compiler/dex/mir_analysis.cc
parentbb0b53f58f11c628f077603b56077dfed1a18f11 (diff)
downloadart-c1b643cc6ac45dbd0eabdcd7425c7e86006c27d6.zip
art-c1b643cc6ac45dbd0eabdcd7425c7e86006c27d6.tar.gz
art-c1b643cc6ac45dbd0eabdcd7425c7e86006c27d6.tar.bz2
Fixed and refactored profiler options handling
- extracted profiler options in a separate class - switched from system property reading to command line arguments - added profile based compilation options to CompilerOptions - removed no longer used kProfile compilation filter - optimize dex files only if the profiler is enabled - clean up unused arguments Bug: 12877748 Bug: 15275634 Change-Id: I37ff68e7694370950ce8db2360562e9058ecebb7
Diffstat (limited to 'compiler/dex/mir_analysis.cc')
-rw-r--r--compiler/dex/mir_analysis.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/dex/mir_analysis.cc b/compiler/dex/mir_analysis.cc
index 7129f8a..2ec17de 100644
--- a/compiler/dex/mir_analysis.cc
+++ b/compiler/dex/mir_analysis.cc
@@ -1015,7 +1015,7 @@ bool MIRGraph::SkipCompilation() {
return true;
}
- if (!compiler_options.IsCompilationEnabled() || compiler_filter == CompilerOptions::kProfiled) {
+ if (!compiler_options.IsCompilationEnabled()) {
return true;
}