| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index 1fba20fa5b923790d9ac720a69f68f2da952157c..c791cb5df591ec755380a25c896ab88565cd53dc 100644
|
| --- a/src/compiler.cc
|
| +++ b/src/compiler.cc
|
| @@ -845,7 +845,7 @@ static bool InstallFullCode(CompilationInfo* info) {
|
| // version of the function right away - unless the debugger is
|
| // active as it makes no sense to compile optimized code then.
|
| if (FLAG_always_opt &&
|
| - !Isolate::Current()->DebuggerHasBreakPoints()) {
|
| + !info->isolate()->DebuggerHasBreakPoints()) {
|
| CompilationInfoWithZone optimized(function);
|
| optimized.SetOptimizing(BailoutId::None());
|
| return Compiler::CompileLazy(&optimized);
|
|
|