summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/arguments/bug503772.js
blob: 6ef8e1f974897b8e883cffdecf05c7cfd9437fee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
function f(a) {
  // Create arguments on trace
  var z = arguments;
  // Make f need a call object
  if (false) {
    var p = function() { ++a; }
  }
}

function g() {
  for (var i = 0; i < 5; ++i) {
    f(2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12);
  }
}

g();