Index: test/mjsunit/regress/regress-crbug-630561.js |
diff --git a/test/mjsunit/compiler/inline-dead-jscreate.js b/test/mjsunit/regress/regress-crbug-630561.js |
similarity index 52% |
copy from test/mjsunit/compiler/inline-dead-jscreate.js |
copy to test/mjsunit/regress/regress-crbug-630561.js |
index a9778758c44908f2a79288bd3439c97a0904f448..798f33d6589df5161837e705cca99f0ea869d10f 100644 |
--- a/test/mjsunit/compiler/inline-dead-jscreate.js |
+++ b/test/mjsunit/regress/regress-crbug-630561.js |
@@ -2,13 +2,12 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-var bar = 0; |
+// Flags: --gc-interval=30 |
-function baz() { return this; } |
+var dict_elements = {}; |
-function foo() { |
- bar += 1; |
- if (bar === 2) throw new baz(); |
+for (var i= 0; i< 100; i++) { |
+ dict_elements[2147483648 + i] = i; |
} |
-foo(); |
+var keys = Object.keys(dict_elements); |