| Index: test/mjsunit/debug-liveedit-patch-positions.js
|
| diff --git a/test/mjsunit/debug-liveedit-patch-positions.js b/test/mjsunit/debug-liveedit-patch-positions.js
|
| index 88ccda913e3369b8f5d988b0d17233c1bfaaebb9..9e89f1dbe91e0765dbc3bfd5c5e9d5af049789b5 100644
|
| --- a/test/mjsunit/debug-liveedit-patch-positions.js
|
| +++ b/test/mjsunit/debug-liveedit-patch-positions.js
|
| @@ -62,7 +62,7 @@ function ReadMarkerPositions(func) {
|
| function ReadPCMap(func, positions) {
|
| var res = new Array();
|
| for (var i = 0; i < positions.length; i++) {
|
| - res.push(Debug.LiveEditChangeScript.GetPcFromSourcePos(func, positions[i]));
|
| + res.push(Debug.LiveEdit.GetPcFromSourcePos(func, positions[i]));
|
| }
|
| return res;
|
| }
|
| @@ -80,7 +80,7 @@ var patch_pos = script.source.indexOf(orig_animal);
|
| var new_animal_patch = "'Capybara'";
|
|
|
| var change_log = new Array();
|
| -Debug.LiveEditChangeScript(script, patch_pos, orig_animal.length, new_animal_patch, change_log);
|
| +Debug.LiveEdit.ApplyPatch(script, patch_pos, orig_animal.length, new_animal_patch, change_log);
|
| print("Change log: " + JSON.stringify(change_log) + "\n");
|
|
|
| var res = ChooseAnimal();
|
|
|