blob: bdd0af9b12db3340263c47f40e3d0b5f1eb84172 [file] [log] [blame]
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001// Copyright 2014 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 --debug-code
6
7var __v_6 = {};
8__v_6 = new Int32Array(5);
9for (var i = 0; i < __v_6.length; i++) __v_6[i] = 0;
10
11function __f_7(N) {
12 for (var i = -1; i < N; i++) {
13 __v_6[i] = i;
14 }
15}
16__f_7(1);
17%OptimizeFunctionOnNextCall(__f_7);
18__f_7(__v_6.length);