Index: src/debug.cc |
diff --git a/src/debug.cc b/src/debug.cc |
index c414e23d39b9bc86580efa349163c59dbf215441..f814db84868032201feebecc059560e810a7bcd4 100644 |
--- a/src/debug.cc |
+++ b/src/debug.cc |
@@ -2079,7 +2079,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) |