summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/regress/regress-crbug-663750.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/mjsunit/regress/regress-crbug-663750.js')
-rw-r--r--deps/v8/test/mjsunit/regress/regress-crbug-663750.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/deps/v8/test/mjsunit/regress/regress-crbug-663750.js b/deps/v8/test/mjsunit/regress/regress-crbug-663750.js
index ba758e77e4..1b3b531a58 100644
--- a/deps/v8/test/mjsunit/regress/regress-crbug-663750.js
+++ b/deps/v8/test/mjsunit/regress/regress-crbug-663750.js
@@ -11,11 +11,11 @@ function foo(a) {
this.x = 0;
delete x;
-foo(1);
-foo(2);
+foo();
+foo();
%OptimizeFunctionOnNextCall(foo);
-foo(3);
-assertEquals(3, v);
+foo();
+assertEquals(undefined, v);
Object.freeze(this);
@@ -23,4 +23,4 @@ foo(4);
foo(5);
%OptimizeFunctionOnNextCall(foo);
foo(6);
-assertEquals(3, v);
+assertEquals(undefined, v);