summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_options.h
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2018-10-10 12:23:26 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2018-10-10 12:23:26 +0000
commitdc3b4670b170b39a8bd6498d4de69c1513af1db2 (patch)
treee1dd4569fd5b49879ec8dfd1b5ef5204a1084407 /compiler/driver/compiler_options.h
parent4ca6cc7ddcbd568b365c428371ea9675799775af (diff)
parentacc56ac6a33a23abbf4a9a62528e352ea28c5407 (diff)
Merge "Introduce a 'baseline' variant for the compiler."
Diffstat (limited to 'compiler/driver/compiler_options.h')
-rw-r--r--compiler/driver/compiler_options.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/driver/compiler_options.h b/compiler/driver/compiler_options.h
index 34aceba1c4..e9cbf74428 100644
--- a/compiler/driver/compiler_options.h
+++ b/compiler/driver/compiler_options.h
@@ -193,6 +193,10 @@ class CompilerOptions final {
return boot_image_;
}
+ bool IsBaseline() const {
+ return baseline_;
+ }
+
// Are we compiling a core image (small boot image only used for ART testing)?
bool IsCoreImage() const {
// Ensure that `core_image_` => `boot_image_`.
@@ -346,6 +350,7 @@ class CompilerOptions final {
bool boot_image_;
bool core_image_;
bool app_image_;
+ bool baseline_;
bool debuggable_;
bool generate_debug_info_;
bool generate_mini_debug_info_;