Chromium Code Reviews| Index: src/debug/mirrors.js |
| diff --git a/src/debug/mirrors.js b/src/debug/mirrors.js |
| index be76f5873d029fd84199aa5ad4d898cc767a79d5..29a25e86a606e2d39dcdc9ef0b8d07e735016120 100644 |
| --- a/src/debug/mirrors.js |
| +++ b/src/debug/mirrors.js |
| @@ -1037,6 +1037,13 @@ FunctionMirror.prototype.toText = function() { |
| }; |
| +FunctionMirror.prototype.contextDebugId = function() { |
|
Yang
2016/03/29 11:52:17
Why do we not return a ContextMirror like ScriptMi
kozy
2016/03/29 17:45:15
Done.
|
| + if (this.resolved()) { |
| + return %FunctionGetContextDebugId(this.value_); |
| + } |
| +}; |
| + |
| + |
| /** |
| * Mirror object for unresolved functions. |
| * @param {string} value The name for the unresolved function reflected by this |