| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index 0efdeb2f57e9e0a9035af48e7c9bf1a65547118f..16250af86776bc4b1cb7f29ea7f55992a37489b4 100755
|
| --- a/src/compiler.cc
|
| +++ b/src/compiler.cc
|
| @@ -664,7 +664,7 @@ bool Compiler::CompileLazy(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()->debug()->has_break_points()) {
|
| + !Isolate::Current()->DebuggerHasBreakPoints()) {
|
| CompilationInfo optimized(function);
|
| optimized.SetOptimizing(AstNode::kNoNumber);
|
| return CompileLazy(&optimized);
|
|
|