Index: src/debug/debug.cc |
diff --git a/src/debug/debug.cc b/src/debug/debug.cc |
index a99ea3f15c7f6f209dc1032515cf9dd5f49f5b5e..93fdd58273198aeec30cc8b0d42a35ae40e4b787 100644 |
--- a/src/debug/debug.cc |
+++ b/src/debug/debug.cc |
@@ -1451,7 +1451,7 @@ Handle<Object> Debug::FindSharedFunctionInfoInScript(Handle<Script> script, |
} |
} |
// If not, compile to reveal inner functions, if possible. |
- if (shared->allows_lazy_compilation_without_context()) { |
+ if (shared->allows_lazy_compilation()) { |
HandleScope scope(isolate_); |
if (!Compiler::CompileDebugCode(handle(shared))) break; |
continue; |
@@ -1470,7 +1470,7 @@ Handle<Object> Debug::FindSharedFunctionInfoInScript(Handle<Script> script, |
candidate = candidate_closure->shared(); |
} else if (object->IsSharedFunctionInfo()) { |
candidate = SharedFunctionInfo::cast(object); |
- if (!candidate->allows_lazy_compilation_without_context()) continue; |
+ if (!candidate->allows_lazy_compilation()) continue; |
} else { |
continue; |
} |