diff options
-rw-r--r-- | compiler/driver/compiler_driver.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc index d37fda2..d150ed0 100644 --- a/compiler/driver/compiler_driver.cc +++ b/compiler/driver/compiler_driver.cc @@ -74,6 +74,8 @@ namespace art { +extern thread_local bool check_bail_out; + static constexpr bool kTimeCompileMethod = !kIsDebugBuild; // Whether to produce 64-bit ELF files for 64-bit targets. @@ -2292,6 +2294,7 @@ void CompilerDriver::CompileMethod(Thread* self, const DexFile::CodeItem* code_i IsMethodToCompile(method_ref); if (compile) { // NOTE: if compiler declines to compile this method, it will return null. + check_bail_out = false; compiled_method = compiler_->Compile(code_item, access_flags, invoke_type, class_def_idx, method_idx, class_loader, dex_file); } |