Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 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 |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | // Flags: --allow-natives-syntax --stress-compaction |
| 6 | |
| 7 | // To reliably reproduce the crash use --verify-heap --random-seed=-133185440 |
| 8 | |
| 9 | function __f_2(o) { |
| 10 | return o.field.b.x; |
| 11 | } |
| 12 | |
| 13 | try { |
| 14 | %OptimizeFunctionOnNextCall(__f_2); |
| 15 | __v_1 = __f_2(); |
| 16 | } catch(e) { } |
| 17 | |
| 18 | function __f_3() { __f_3(/./.test()); }; |
| 19 | |
| 20 | try { |
| 21 | __f_3(); |
| 22 | } catch(e) { } |