Index: test/debugger/debug/debug-evaluate-no-side-effect-builtins.js |
diff --git a/test/debugger/debug/debug-evaluate-no-side-effect-builtins.js b/test/debugger/debug/debug-evaluate-no-side-effect-builtins.js |
index 533e5db2a11337066bfbc672c4b947b12cf458e4..f5f2976af14bb675148f86cccbfc3ed646786fc4 100644 |
--- a/test/debugger/debug/debug-evaluate-no-side-effect-builtins.js |
+++ b/test/debugger/debug/debug-evaluate-no-side-effect-builtins.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: --ignition |
+// Flags: --ignition --side-effect-free-debug-evaluate |
Debug = debug.Debug |
@@ -12,12 +12,10 @@ |
if (event != Debug.DebugEvent.Break) return; |
try { |
function success(expectation, source) { |
- assertEquals(expectation, |
- exec_state.frame(0).evaluate(source, true).value()); |
+ assertEquals(expectation, exec_state.frame(0).evaluate(source).value()); |
} |
function fail(source) { |
- assertThrows(() => exec_state.frame(0).evaluate(source, true), |
- EvalError); |
+ assertThrows(() => exec_state.frame(0).evaluate(source), EvalError); |
} |
// Test Math functions. |