OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
| 5 // Flags: --stack-size=70 |
| 6 |
| 7 "a".replace(/a/g, ""); |
| 8 |
| 9 function test() { |
| 10 try { |
| 11 test(); |
| 12 } catch(e) { |
| 13 "b".replace(/(b)/g, new []); |
| 14 } |
| 15 } |
| 16 |
5 try { | 17 try { |
6 load("test/mjsunit/regress/regress-444805.js-script"); | 18 test(); |
7 } catch (e) { | 19 } catch (e) { |
8 } | 20 } |
OLD | NEW |