diff options
| author | 2016-01-27 18:33:38 +0000 | |
|---|---|---|
| committer | 2016-01-27 18:33:38 +0000 | |
| commit | ca5050538cbb0260c50530055f1ea880015327b7 (patch) | |
| tree | 20520a5b5838b3251fd755584645d8ae85908b17 /compiler/driver/compiler_driver.cc | |
| parent | 1be9e27239dc63bb4d8134df50be60f65a9d5da3 (diff) | |
| parent | 47496c293b2b79c9747eeebafe444715202e7fc6 (diff) | |
Merge "ART: Allow --no-inline-from to specify multiple dex files."
Diffstat (limited to 'compiler/driver/compiler_driver.cc')
| -rw-r--r-- | compiler/driver/compiler_driver.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc index 818d50a994..c483f33ae6 100644 --- a/compiler/driver/compiler_driver.cc +++ b/compiler/driver/compiler_driver.cc @@ -2582,7 +2582,8 @@ bool CompilerDriver::MayInlineInternal(const DexFile* inlined_from, const DexFile* inlined_into) const { // We're not allowed to inline across dex files if we're the no-inline-from dex file. if (inlined_from != inlined_into && - compiler_options_->GetNoInlineFromDexFile() == inlined_from) { + compiler_options_->GetNoInlineFromDexFile() != nullptr && + ContainsElement(*compiler_options_->GetNoInlineFromDexFile(), inlined_from)) { return false; } |