Index: test/mjsunit/regress/regress-460937.js |
diff --git a/test/mjsunit/regress/regress-449291.js b/test/mjsunit/regress/regress-460937.js |
similarity index 67% |
copy from test/mjsunit/regress/regress-449291.js |
copy to test/mjsunit/regress/regress-460937.js |
index fb56027b67f3f176f1432c11b39075aec6cc8429..cd57f93328beb1e2bab4e814afb3445e6843abe0 100644 |
--- a/test/mjsunit/regress/regress-449291.js |
+++ b/test/mjsunit/regress/regress-460937.js |
@@ -4,16 +4,16 @@ |
// Flags: --allow-natives-syntax |
-a = {y:1.5}; |
-a.y = 1093445778; |
-b = a.y; |
-c = {y:{}}; |
- |
function f() { |
- return {y: b}; |
+ var a = new Array(100000); |
+ var i = 0; |
+ while (!%HasFastDoubleElements(a)) { |
+ a[i] = i; |
+ i += 0.1; |
+ } |
+ a[1] = 1.5; |
} |
f(); |
-f(); |
%OptimizeFunctionOnNextCall(f); |
-assertEquals(f().y, 1093445778); |
+f(); |