summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_options.h
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2019-02-19 15:09:35 +0000
committerVladimir Marko <vmarko@google.com>2019-02-20 10:40:05 +0000
commit038924b75f06b91c2a7e944196ca11f118ce182f (patch)
treefb3073918686ec6f54dce65d2697c0e46f05a272 /compiler/driver/compiler_options.h
parent03c6b174a4e412e9bb62935c4ee15b5445e517f2 (diff)
ART: Reduce dependencies on CompilerDriver.
Preparation for moving CompilerDriver and other stuff from libart-compiler.so to dex2oat. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Change-Id: Ic221ebca4b8c79dd1549316921ace655f2e3f0fe
Diffstat (limited to 'compiler/driver/compiler_options.h')
-rw-r--r--compiler/driver/compiler_options.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/driver/compiler_options.h b/compiler/driver/compiler_options.h
index fccd9ca26e..25d7b36571 100644
--- a/compiler/driver/compiler_options.h
+++ b/compiler/driver/compiler_options.h
@@ -359,6 +359,10 @@ class CompilerOptions final {
max_image_block_size_ = size;
}
+ // 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);
+
private:
bool ParseDumpInitFailures(const std::string& option, std::string* error_msg);
bool ParseRegisterAllocationStrategy(const std::string& option, std::string* error_msg);