Index: test/debugger/debug/debug-evaluate-no-side-effect.js |
diff --git a/test/debugger/debug/debug-evaluate-no-side-effect.js b/test/debugger/debug/debug-evaluate-no-side-effect.js |
index 26afa9b6e9c5eab61e645d878c6b09f79af43288..113ca3d16a591286b451f49fbb1ac67c18841f93 100644 |
--- a/test/debugger/debug/debug-evaluate-no-side-effect.js |
+++ b/test/debugger/debug/debug-evaluate-no-side-effect.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 |
@@ -24,12 +24,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); |
} |
// Simple test. |
success(3, "1 + 2"); |