Index: src/inspector/debugger-script.js |
diff --git a/src/inspector/debugger-script.js b/src/inspector/debugger-script.js |
index f1c41ac8092db584519bacb6e997ff64be356939..9d917b6df73540cb167c5dcd370a430216d1f8a6 100644 |
--- a/src/inspector/debugger-script.js |
+++ b/src/inspector/debugger-script.js |
@@ -102,31 +102,6 @@ DebuggerScript.getGeneratorScopes = function(gen) |
} |
/** |
- * @param {Object} object |
- * @return {?RawLocation} |
- */ |
-DebuggerScript.getGeneratorObjectLocation = function(object) |
-{ |
- var mirror = MakeMirror(object); |
- if (!mirror.isGenerator()) |
- return null; |
- var generatorMirror = /** @type {!GeneratorMirror} */(mirror); |
- var funcMirror = generatorMirror.func(); |
- if (!funcMirror.resolved()) |
- return null; |
- var location = generatorMirror.sourceLocation() || funcMirror.sourceLocation(); |
- var script = funcMirror.script(); |
- if (script && location) { |
- return { |
- scriptId: "" + script.id(), |
- lineNumber: location.line, |
- columnNumber: location.column |
- }; |
- } |
- return null; |
-} |
- |
-/** |
* @param {!ExecutionState} execState |
* @param {!BreakpointInfo} info |
* @return {string|undefined} |