Index: test/mjsunit/regress/regress-325676.js |
diff --git a/test/mjsunit/regress/regress-325676.js b/test/mjsunit/regress/regress-325676.js |
index 7aae0cdaab1920857f44dbeaa9b32927d82976e2..427bbc38dcb3d909b3bfb1dc3a6008cec63cf9ab 100644 |
--- a/test/mjsunit/regress/regress-325676.js |
+++ b/test/mjsunit/regress/regress-325676.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 --debug-eval-readonly-locals |
+// Flags: --expose-debug-as debug |
// If a function parameter is forced to be context allocated, |
// debug evaluate need to resolve it to a context slot instead of |
@@ -40,7 +40,7 @@ |
if (event != Debug.DebugEvent.Break) return; |
try { |
assertEquals(expected, exec_state.frame(0).evaluate('arg').value()); |
- exec_state.frame(0).evaluate('arg = "evaluated";'); // no effect |
+ exec_state.frame(0).evaluate('arg = "evaluated";'); |
} catch (e) { |
exception = e; |
} |
@@ -51,12 +51,12 @@ |
function f(arg) { |
expected = arg; |
debugger; |
- assertEquals(expected, arg); |
+ assertEquals("evaluated", arg); |
arg = "value"; |
expected = arg; |
debugger; |
- assertEquals(expected, arg); |
+ assertEquals("evaluated", arg); |
// Forces arg to be context allocated even though a parameter. |
function g() { arg; } |