Index: test/mjsunit/runtime-gen/liveeditreplacescript.js |
diff --git a/test/mjsunit/runtime-gen/liveeditreplacescript.js b/test/mjsunit/runtime-gen/liveeditreplacescript.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..486c9e3fb160d82b8c9c167d544307799f7e7bcb |
--- /dev/null |
+++ b/test/mjsunit/runtime-gen/liveeditreplacescript.js |
@@ -0,0 +1,7 @@ |
+// Copyright 2014 the V8 project authors. All rights reserved. |
+// AUTO-GENERATED BY tools/generate-runtime-tests.py, DO NOT MODIFY |
+// Flags: --allow-natives-syntax --harmony |
+var arg0 = %DebugGetLoadedScripts()[1]; |
+var _new_source = "foo"; |
+var _old_script_name = new Object(); |
+%LiveEditReplaceScript(arg0, _new_source, _old_script_name); |