blob: 829c25c59d230e4d0e4ec189e0915b999ee8b478 [file] [log] [blame]
Ben Murdoch4a90d5f2016-03-22 12:00:34 +00001// 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
9function __f_2(o) {
10 return o.field.b.x;
11}
12
13try {
14 %OptimizeFunctionOnNextCall(__f_2);
15 __v_1 = __f_2();
16} catch(e) { }
17
18function __f_3() { __f_3(/./.test()); };
19
20try {
21__f_3();
22} catch(e) { }