diff options
| author | 2015-12-24 11:55:50 +0000 | |
|---|---|---|
| committer | 2015-12-24 11:55:50 +0000 | |
| commit | fed399c39a89a04966cf9c7da300c8a1d6404453 (patch) | |
| tree | b1c6399751c98babd3839bd4d5ff4a1f6a5c274c /compiler/driver/compiler_options.h | |
| parent | 58b2329de74a73d2f0a7ed001e50cc39df33d9da (diff) | |
| parent | 7f65b4669c52976cd5713dae47b901707ed77110 (diff) | |
Merge internal master into aosp/master.
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_; |