Index: test/mjsunit/regress/regress-467481.js |
diff --git a/test/mjsunit/regress/regress-449291.js b/test/mjsunit/regress/regress-467481.js |
similarity index 52% |
copy from test/mjsunit/regress/regress-449291.js |
copy to test/mjsunit/regress/regress-467481.js |
index fb56027b67f3f176f1432c11b39075aec6cc8429..dcb12d89b0b0c857c28fdd55ff941a9bfcadf941 100644 |
--- a/test/mjsunit/regress/regress-449291.js |
+++ b/test/mjsunit/regress/regress-467481.js |
@@ -4,16 +4,19 @@ |
// Flags: --allow-natives-syntax |
-a = {y:1.5}; |
-a.y = 1093445778; |
-b = a.y; |
-c = {y:{}}; |
- |
-function f() { |
- return {y: b}; |
+function f(a1, a2) { |
+ var v7 = a2[0]; |
+ var v8 = a1[0]; |
+ a2[0] = 0.3; |
} |
- |
-f(); |
-f(); |
+v6 = new Array(1); |
+v6[0] = "tagged"; |
+f(v6, [1]); |
+v5 = new Array(1); |
+v5[0] = 0.1; |
+f(v5, v5); |
+v5 = new Array(10); |
+f(v5, v5); |
%OptimizeFunctionOnNextCall(f); |
-assertEquals(f().y, 1093445778); |
+f(v5, v5); |
+v5[0]; |