| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index 2d5655002067c71f7da121c49cf11338363d34e6..2e525932ae96592b684e75059d719ade5da8aadd 100644
|
| --- a/src/compiler.cc
|
| +++ b/src/compiler.cc
|
| @@ -1024,7 +1024,7 @@ MaybeHandle<Code> Compiler::GetLazyCode(Handle<JSFunction> function) {
|
| VMState<COMPILER> state(isolate);
|
| PostponeInterruptsScope postpone(isolate);
|
|
|
| - info.SetOptimizing(BailoutId::None(), handle(function->shared()->code()));
|
| + info.SetOptimizing();
|
|
|
| if (GetOptimizedCodeNow(&info)) {
|
| DCHECK(function->shared()->is_compiled());
|
| @@ -1771,7 +1771,7 @@ MaybeHandle<Code> Compiler::GetOptimizedCode(Handle<JSFunction> function,
|
| DCHECK(!isolate->has_pending_exception());
|
| PostponeInterruptsScope postpone(isolate);
|
|
|
| - info->SetOptimizing(osr_ast_id, current_code);
|
| + info->SetOptimizingForOsr(osr_ast_id, current_code);
|
|
|
| if (mode == CONCURRENT) {
|
| if (GetOptimizedCodeLater(info.get())) {
|
|
|