diff options
author | Calin Juravle <calin@google.com> | 2014-05-30 23:44:11 +0100 |
---|---|---|
committer | Calin Juravle <calin@google.com> | 2014-06-06 12:14:01 +0100 |
commit | c1b643cc6ac45dbd0eabdcd7425c7e86006c27d6 (patch) | |
tree | 250455427da979409a075a2b3197bd43ccd40fe1 /compiler/driver/compiler_driver.h | |
parent | bb0b53f58f11c628f077603b56077dfed1a18f11 (diff) | |
download | art-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/driver/compiler_driver.h')
-rw-r--r-- | compiler/driver/compiler_driver.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/driver/compiler_driver.h b/compiler/driver/compiler_driver.h index e952f63..fad6798 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); |