Index: test/mjsunit/debug-compile-event-newfunction.js |
diff --git a/test/mjsunit/debug-compile-event-newfunction.js b/test/mjsunit/debug-compile-event-newfunction.js |
index fb43a87f77c045a05f1b4fd07ff3cd677d8f76f8..9e03b0a8a35fff63d00f28a32f069e5d7b591d92 100644 |
--- a/test/mjsunit/debug-compile-event-newfunction.js |
+++ b/test/mjsunit/debug-compile-event-newfunction.js |
@@ -61,7 +61,7 @@ function listener(event, exec_state, event_data, data) { |
Debug.setListener(listener); |
// Create a function from its body text. It will lead to an eval. |
titzer
2014/07/28 09:56:10
OK, just TODO someone
Michael Starzinger
2014/07/28 15:10:52
Done (put it one line below to avoid adapting line
|
-new Function('arg1', 'return arg1 + 1;'); |
+var f = new Function('arg1', 'return arg1 + 1;'); |
assertNull(exception, "exception in listener"); |