summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testInnerMissingArgs.js
blob: d70b5d1aaab219c6ce12a9772c263a412cb276a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
function innerTestInnerMissingArgs(a,b,c,d)
{
        if (a) {
        } else {
        }
}

function doTestInnerMissingArgs(k)
{
    for (i = 0; i < 10; i++) {
        innerTestInnerMissingArgs(k);
    }
}

function testInnerMissingArgs()
{
    doTestInnerMissingArgs(1);
    doTestInnerMissingArgs(0);
}

testInnerMissingArgs();