diff options
-rw-r--r-- | runtime/runtime.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/runtime.cc b/runtime/runtime.cc index 8c5827cbfc..edc55c8624 100644 --- a/runtime/runtime.cc +++ b/runtime/runtime.cc @@ -1657,7 +1657,7 @@ void Runtime::SetFaultMessage(const std::string& message) { void Runtime::AddCurrentRuntimeFeaturesAsDex2OatArguments(std::vector<std::string>* argv) const { - if (GetInstrumentation()->InterpretOnly()) { + if (GetInstrumentation()->InterpretOnly() || UseJit()) { argv->push_back("--compiler-filter=interpret-only"); } |