blob: 80ae41b276290bc35ee97abed613caf1f376d113 [file] [log] [blame]
Ben Murdochda12d292016-06-02 14:46:10 +01001// Copyright 2016 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 --expose-gc
6
7var __v_5 = {};
8
9function __f_10() {
10 var __v_2 = [0, 0, 0];
11 __v_2[0] = 0;
12 gc();
13 return __v_2;
14}
15
16function __f_2(array) {
17 array[1] = undefined;
18}
19
20function __f_9() {
21 var __v_4 = __f_10();
22 __f_2(__f_10());
23 __v_5 = __f_10();
24 __v_4 = __f_10();
25 __f_2(__v_5);
26}
27__f_9();
28%OptimizeFunctionOnNextCall(__f_9);
29__f_9();