diff options
Diffstat (limited to 'test/common/runtime_state.cc')
-rw-r--r-- | test/common/runtime_state.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/common/runtime_state.cc b/test/common/runtime_state.cc index c1c8936e9e..a530bd4794 100644 --- a/test/common/runtime_state.cc +++ b/test/common/runtime_state.cc @@ -51,6 +51,7 @@ static jit::Jit* GetJitIfEnabled() { bool can_jit = runtime != nullptr && runtime->GetJit() != nullptr + && runtime->UseJitCompilation() && runtime->GetInstrumentation()->GetCurrentInstrumentationLevel() != instrumentation::Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter; return can_jit ? runtime->GetJit() : nullptr; |