Index: test/mjsunit/regress/regress-crbug-635798.js |
diff --git a/test/mjsunit/regress/regress-crbug-630923.js b/test/mjsunit/regress/regress-crbug-635798.js |
similarity index 67% |
copy from test/mjsunit/regress/regress-crbug-630923.js |
copy to test/mjsunit/regress/regress-crbug-635798.js |
index ff0d2dd05efbedec15a515545eac2184c36c59f3..5456682ddc74a41137feae0bfce48136b664ec56 100644 |
--- a/test/mjsunit/regress/regress-crbug-630923.js |
+++ b/test/mjsunit/regress/regress-crbug-635798.js |
@@ -4,13 +4,12 @@ |
// Flags: --allow-natives-syntax |
-var o = {}; |
-function bar(o) { |
- return 1 + (o.t ? 1 : 2); |
-} |
function foo() { |
- bar(o); |
+ var x = []; |
+ var y = []; |
+ x.__proto__ = y; |
+ for (var i = 0; i < 200000; ++i) { |
+ y[i] = 1; |
+ } |
} |
foo(); |
-%OptimizeFunctionOnNextCall(foo); |
-foo(); |