Index: test/mjsunit/es6/generators-debug-liveedit.js |
diff --git a/test/mjsunit/es6/generators-debug-liveedit.js b/test/mjsunit/es6/generators-debug-liveedit.js |
index 6f0c443afcff89c5f734f74da8c001d3ca91af38..987a42c41cd94b986e741d6be18bbaa11f7be452 100644 |
--- a/test/mjsunit/es6/generators-debug-liveedit.js |
+++ b/test/mjsunit/es6/generators-debug-liveedit.js |
@@ -2,7 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-// Flags: --expose-debug-as debug |
+// Flags: --expose-debug-as debug --allow-natives-syntax |
var Debug = debug.Debug; |
var LiveEdit = Debug.LiveEdit; |
@@ -54,7 +54,7 @@ function patch(fun, from, to) { |
print("Change log: " + JSON.stringify(log) + "\n"); |
} |
} |
- Debug.ExecuteInDebugContext(debug, false); |
+ %ExecuteInDebugContext(debug); |
} |
// Try to edit a MakeGenerator while it's running, then again while it's |