Chromium Code Reviews| Index: src/liveedit-debugger.js |
| =================================================================== |
| --- src/liveedit-debugger.js (revision 4205) |
| +++ src/liveedit-debugger.js (working copy) |
| @@ -424,3 +424,8 @@ |
| Debug.LiveEditChangeScript.Failure.prototype.toString = function() { |
| return "LiveEdit Failure: " + this.message; |
| } |
| + |
| +// A testing entry. |
| +Debug.LiveEditChangeScript.GetPcFromSourcePos = function(func, source_pos) { |
| + return %GetFunctionCodePositionFromSource(func, source_pos); |
| +} |