Index: src/debug.cc |
diff --git a/src/debug.cc b/src/debug.cc |
index d966b6e7391c059b6e03cbb870e41813cb2d3895..3987d9d3b1d4f230e64ebb111c212a07d511a72d 100644 |
--- a/src/debug.cc |
+++ b/src/debug.cc |
@@ -2081,7 +2081,7 @@ Handle<Object> Debug::FindSharedFunctionInfoInScript(Handle<Script> script, |
// If the candidate is not compiled, compile it to reveal any inner |
// functions which might contain the requested source position. This |
// will compile all inner functions that cannot be compiled without a |
- // context, because Compiler::BuildFunctionInfo checks whether the |
+ // context, because Compiler::GetSharedFunctionInfo checks whether the |
// debugger is active. |
MaybeHandle<Code> maybe_result = target_function.is_null() |
? Compiler::GetUnoptimizedCode(target) |