From c1b643cc6ac45dbd0eabdcd7425c7e86006c27d6 Mon Sep 17 00:00:00 2001 From: Calin Juravle Date: Fri, 30 May 2014 23:44:11 +0100 Subject: 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 --- compiler/dex/mir_analysis.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/dex/mir_analysis.cc') diff --git a/compiler/dex/mir_analysis.cc b/compiler/dex/mir_analysis.cc index 7129f8a501..2ec17dedaf 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; } -- cgit v1.2.3-59-g8ed1b