summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug765477.js
blob: abb3623ccfc2ffaf8bf7b588e1ac94b3686047c7 (plain)
1
2
3
4
5
6
7
8
function f(useArg2, arg2, expect) {
    var args = arguments;
    if (useArg2)
	args = arg2;
    assertEq(args.length, expect);
}
f(false, 0, 3);
f(false, 0, 3);