js/src/jit-test/tests/basic/testFunApplyOverflow.js

branch
TOR_BUG_3246
changeset 7
129ffea94266
equal deleted inserted replaced
-1:000000000000 0:2f7190f6a51d
1 function g(x,y) {
2 return x + y;
3 }
4
5 function f(x) {
6 return g.apply(null, arguments);
7 }
8
9 for (var i = 0; i < 100; ++i)
10 assertEq(f(i, 1), i+1);

mercurial