summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_options.h
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/driver/compiler_options.h')
-rw-r--r--compiler/driver/compiler_options.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/compiler/driver/compiler_options.h b/compiler/driver/compiler_options.h
index bd832b963e..98b15dc174 100644
--- a/compiler/driver/compiler_options.h
+++ b/compiler/driver/compiler_options.h
@@ -346,6 +346,10 @@ class CompilerOptions final {
max_image_block_size_ = size;
}
+ bool InitializeAppImageClasses() const {
+ return initialize_app_image_classes_;
+ }
+
// Is `boot_image_filename` the name of a core image (small boot
// image used for ART testing only)?
static bool IsCoreImageFilename(const std::string& boot_image_filename);
@@ -429,6 +433,9 @@ class CompilerOptions final {
// profile.
bool resolve_startup_const_strings_;
+ // Whether we attempt to run class initializers for app image classes.
+ bool initialize_app_image_classes_;
+
// When running profile-guided compilation, check that methods intended to be compiled end
// up compiled and are not punted.
ProfileMethodsCheck check_profiled_methods_;