Index: test/mjsunit/debug-liveedit-check-stack.js |
diff --git a/test/mjsunit/debug-liveedit-check-stack.js b/test/mjsunit/debug-liveedit-check-stack.js |
index 6948a70d6bbce077f723af4e66e7e4140eaa7343..d843ca6a607699a2f28c75e0fcc5b0b79e7fa65a 100644 |
--- a/test/mjsunit/debug-liveedit-check-stack.js |
+++ b/test/mjsunit/debug-liveedit-check-stack.js |
@@ -25,7 +25,7 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-// Flags: --expose-debug-as debug |
+// Flags: --expose-debug-as debug --allow-natives-syntax |
// Get the Debug object exposed from the debug context global object. |
Debug = debug.Debug |
@@ -87,13 +87,13 @@ function WrapInCatcher(f, holder) { |
function WrapInNativeCall(f) { |
return function() { |
- return Debug.ExecuteInDebugContext(f, true); |
+ return %Call(undefined, f); |
}; |
} |
function WrapInDebuggerCall(f) { |
return function() { |
- return Debug.ExecuteInDebugContext(f, false); |
+ return %ExecuteInDebugContext(f); |
}; |
} |