Index: src/optimizing-compile-dispatcher.cc |
diff --git a/src/optimizing-compile-dispatcher.cc b/src/optimizing-compile-dispatcher.cc |
index 7062db640d513341c48ad485412d6e343a5299a8..6ae8708d2cd31168e180b18259626afb12968f3c 100644 |
--- a/src/optimizing-compile-dispatcher.cc |
+++ b/src/optimizing-compile-dispatcher.cc |
@@ -244,9 +244,9 @@ void OptimizingCompileDispatcher::InstallOptimizedFunctions() { |
} |
DisposeOptimizedCompileJob(job, false); |
} else { |
- Handle<Code> code = Compiler::GetConcurrentlyOptimizedCode(job); |
+ MaybeHandle<Code> code = Compiler::GetConcurrentlyOptimizedCode(job); |
function->ReplaceCode(code.is_null() ? function->shared()->code() |
- : *code); |
+ : *code.ToHandleChecked()); |
} |
} |
} |