summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_options.h
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2018-06-26 13:10:49 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2018-06-26 13:10:49 +0000
commit8d9815f4b12e42a4b327e8ee2a3d39a280a8a2c6 (patch)
tree0ae986eea6067bbb733e9ca54ef643222e087046 /compiler/driver/compiler_options.h
parentfad8ad743e27b5d809f4e7d71d50fe3726cc7b2a (diff)
parent213ee2da6a1c58d0fc12c937bbd9c9974ca00aca (diff)
Merge "Move dex_files_for_oat_file_ to CompilerOptions."
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 0709fafaeb..908ff3302c 100644
--- a/compiler/driver/compiler_options.h
+++ b/compiler/driver/compiler_options.h
@@ -235,6 +235,10 @@ class CompilerOptions FINAL {
return no_inline_from_;
}
+ const std::vector<const DexFile*>& GetDexFilesForOatFile() const {
+ return dex_files_for_oat_file_;
+ }
+
const HashSet<std::string>& GetImageClasses() const {
return image_classes_;
}
@@ -313,6 +317,9 @@ class CompilerOptions FINAL {
// prefer vector<> over a lookup-oriented container, such as set<>.
std::vector<const DexFile*> no_inline_from_;
+ // List of dex files associated with the oat file, empty for JIT.
+ std::vector<const DexFile*> dex_files_for_oat_file_;
+
// Image classes, specifies the classes that will be included in the image if creating an image.
// Must not be empty for real boot image, only for tests pretending to compile boot image.
HashSet<std::string> image_classes_;