summaryrefslogtreecommitdiff
path: root/src/compiler/driver/compiler_driver.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/driver/compiler_driver.cc')
-rw-r--r--src/compiler/driver/compiler_driver.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/driver/compiler_driver.cc b/src/compiler/driver/compiler_driver.cc
index bf8bb8acb2..85dcdf671b 100644
--- a/src/compiler/driver/compiler_driver.cc
+++ b/src/compiler/driver/compiler_driver.cc
@@ -910,6 +910,7 @@ bool CompilerDriver::ComputeInvokeInfo(const DexCompilationUnit* mUnit, const ui
GetCodeAndMethodForDirectCall(invoke_type, kDirect, referrer_class, called_method,
direct_code, direct_method, update_stats);
bool compiler_needs_dex_cache =
+ (GetCompilerBackend() == kPortable) ||
(GetCompilerBackend() == kQuick && instruction_set_ != kThumb2) ||
(direct_code == 0) || (direct_code == static_cast<unsigned int>(-1)) ||
(direct_method == 0) || (direct_method == static_cast<unsigned int>(-1));