summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/regress/regress-dictionary-to-fast-arguments.js
blob: f12679a663d336fa2fd321f0b8f9a48282fef307 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Copyright 2014 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

function f(a, b) {
  for (var i = 10000; i > 0; i--) {
    arguments[i] = 0;
  }
}

f(1.5, 2.5);