summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_options.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2020-05-19 14:42:02 +0100
committer Vladimir Marko <vmarko@google.com> 2020-05-20 08:41:09 +0000
commit695348f4b0541f4373b46eac5830cdd87f71c076 (patch)
treef2f6019f0c394f99aaaf9f2f7deec16bf6116b0f /compiler/driver/compiler_options.cc
parent1f5300a211202442a07607830c6550773ca50b50 (diff)
Add compiler type to CompilerOptions.
Let CompilerOptions hold the information whether it is AOT or JIT compilation, or Zygote JIT for shared code. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing --jit Test: aosp_taimen-userdebug boots. Change-Id: Id9200572406f8e43d99b8b61ef0e3edf43b52fff
Diffstat (limited to 'compiler/driver/compiler_options.cc')
-rw-r--r--compiler/driver/compiler_options.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/driver/compiler_options.cc b/compiler/driver/compiler_options.cc
index 05500751f8..a5805f953b 100644
--- a/compiler/driver/compiler_options.cc
+++ b/compiler/driver/compiler_options.cc
@@ -50,6 +50,7 @@ CompilerOptions::CompilerOptions()
dex_files_for_oat_file_(),
image_classes_(),
verification_results_(nullptr),
+ compiler_type_(CompilerType::kAotCompiler),
image_type_(ImageType::kNone),
compile_art_test_(false),
baseline_(false),