Index: test/mjsunit/regress/regress-463028.js |
diff --git a/test/mjsunit/regress/regress-449291.js b/test/mjsunit/regress/regress-463028.js |
similarity index 56% |
copy from test/mjsunit/regress/regress-449291.js |
copy to test/mjsunit/regress/regress-463028.js |
index fb56027b67f3f176f1432c11b39075aec6cc8429..1454ef1aea9a4ba296f99ce0531821e3ccd85aa5 100644 |
--- a/test/mjsunit/regress/regress-449291.js |
+++ b/test/mjsunit/regress/regress-463028.js |
@@ -4,16 +4,15 @@ |
// Flags: --allow-natives-syntax |
-a = {y:1.5}; |
-a.y = 1093445778; |
-b = a.y; |
-c = {y:{}}; |
+var o = {} |
+Object.defineProperty(o, "z", { |
+ set: function() { |
+ %DeoptimizeFunction(f); |
+ }, |
+}); |
-function f() { |
- return {y: b}; |
+function f(o) { |
+ return 19 + (void(o.z = 12)); |
} |
-f(); |
-f(); |
-%OptimizeFunctionOnNextCall(f); |
-assertEquals(f().y, 1093445778); |
+f(o); |