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/driver/compiler_driver.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compiler/driver/compiler_driver.h') diff --git a/compiler/driver/compiler_driver.h b/compiler/driver/compiler_driver.h index e952f63a63..fad67983dd 100644 --- a/compiler/driver/compiler_driver.h +++ b/compiler/driver/compiler_driver.h @@ -143,7 +143,7 @@ class CompilerDriver { } bool ProfilePresent() const { - return profile_ok_; + return profile_present_; } // Are we compiling and creating an image file? @@ -596,7 +596,7 @@ class CompilerDriver { } ProfileFile profile_file_; - bool profile_ok_; + bool profile_present_; // Should the compiler run on this method given profile information? bool SkipCompilation(const std::string& method_name); -- cgit v1.2.3-59-g8ed1b