| Index: src/debug.cc
|
| diff --git a/src/debug.cc b/src/debug.cc
|
| index 6be8fc9cdd8c22069186b36e33d2342ff4a658d8..f0e77968eb48fb6135ff9a8636a4dac6adbd18ad 100644
|
| --- a/src/debug.cc
|
| +++ b/src/debug.cc
|
| @@ -1880,7 +1880,7 @@ static void EnsureFunctionHasDebugBreakSlots(Handle<JSFunction> function) {
|
| // Make sure that the shared full code is compiled with debug
|
| // break slots.
|
| if (!function->shared()->code()->has_debug_break_slots()) {
|
| - MaybeHandle<Code> code = Compiler::GetCodeForDebugging(function);
|
| + MaybeHandle<Code> code = Compiler::GetDebugCode(function);
|
| // Recompilation can fail. In that case leave the code as it was.
|
| if (!code.is_null()) function->ReplaceCode(*code.ToHandleChecked());
|
| } else {
|
| @@ -1914,7 +1914,7 @@ void Debug::PrepareForBreakPoints() {
|
|
|
| Deoptimizer::DeoptimizeAll(isolate_);
|
|
|
| - Handle<Code> lazy_compile = isolate_->builtins()->CompileUnoptimized();
|
| + Handle<Code> lazy_compile = isolate_->builtins()->CompileLazy();
|
|
|
| // There will be at least one break point when we are done.
|
| has_break_points_ = true;
|
|
|