From dcdc85bbd569f0ee66c331b4219c19304a616214 Mon Sep 17 00:00:00 2001 From: Jeff Hao Date: Fri, 4 Dec 2015 14:06:18 -0800 Subject: 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 --- compiler/driver/compiler_options.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'compiler/driver/compiler_options.h') 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_; -- cgit v1.2.3-59-g8ed1b