diff options
author | Jeff Hao <jeffhao@google.com> | 2015-12-04 14:06:18 -0800 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2015-12-23 21:14:23 -0800 |
commit | dcdc85bbd569f0ee66c331b4219c19304a616214 (patch) | |
tree | b5ab789248e279318f6c1e3f6c511703d7294476 /compiler/driver/compiler_options.h | |
parent | 48944c760b196188b968b7af81439466cf987a75 (diff) |
Dex2oat support for multiple oat file and image file outputs.
Multiple changes to dex2oat and the runtime to support a --multi-image
option. This generates a separate oat file and image file output for
each dex file input.
Change-Id: Ie1d6f0b8afa8aed5790065b8c2eb177990c60129
Diffstat (limited to 'compiler/driver/compiler_options.h')
-rw-r--r-- | compiler/driver/compiler_options.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/compiler/driver/compiler_options.h b/compiler/driver/compiler_options.h index 2b047a203c..9ad1beefec 100644 --- a/compiler/driver/compiler_options.h +++ b/compiler/driver/compiler_options.h @@ -72,6 +72,7 @@ class CompilerOptions FINAL { size_t num_dex_methods_threshold, size_t inline_depth_limit, size_t inline_max_code_units, + const DexFile* no_inline_from, bool include_patch_information, double top_k_profile_threshold, bool debuggable, @@ -217,6 +218,10 @@ class CompilerOptions FINAL { return abort_on_hard_verifier_failure_; } + const DexFile* GetNoInlineFromDexFile() const { + return no_inline_from_; + } + bool ParseCompilerOption(const StringPiece& option, UsageFn Usage); private: @@ -241,6 +246,10 @@ class CompilerOptions FINAL { size_t num_dex_methods_threshold_; size_t inline_depth_limit_; size_t inline_max_code_units_; + + // A dex file from which we should not inline code. + const DexFile* no_inline_from_; + bool include_patch_information_; // When using a profile file only the top K% of the profiled samples will be compiled. double top_k_profile_threshold_; |