Index: src/liveedit-delay.js |
diff --git a/src/liveedit-delay.js b/src/liveedit-delay.js |
index 12479b13c819e7c62b06a6e62bf38441c648d488..41f894a2135b2c9adbb72995cf94b14339cdf8e0 100644 |
--- a/src/liveedit-delay.js |
+++ b/src/liveedit-delay.js |
@@ -424,3 +424,8 @@ Debug.LiveEditChangeScript.Failure = function(message) { |
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); |
+} |