Index: test/mjsunit/compiler/regress-469089.js |
diff --git a/test/mjsunit/regress/regress-crbug-455644.js b/test/mjsunit/compiler/regress-469089.js |
similarity index 52% |
copy from test/mjsunit/regress/regress-crbug-455644.js |
copy to test/mjsunit/compiler/regress-469089.js |
index 4993d857a89f620df2b0d1f9813a2a382a77bd8d..6aff2b720305290570124cec0dd7a4a959f05694 100644 |
--- a/test/mjsunit/regress/regress-crbug-455644.js |
+++ b/test/mjsunit/compiler/regress-469089.js |
@@ -2,11 +2,15 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-(function f() { |
- do { return 23; } while(false); |
- with (0) { |
- try { |
- return 42; |
- } finally {} |
+// Flags: --expose-gc |
+ |
+(function() { |
+ var __v_6 = false; |
+ function f(val, idx) { |
+ if (idx === 1) { |
+ gc(); |
+ __v_6 = (val === 0); |
+ } |
} |
+ f(.1, 1); |
})(); |