summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testGetCallObj.js
blob: 6c0902a0aec276b3f9825965f306e5b7fa8cf9f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
function testGetCallObjInlined(i) {
    if (i > 7) eval("1");
    return 1;
}

function testGetCallObj() {
    for (var i = 0; i < 10; ++i)
        testGetCallObjInlined(i);
    return "ok";
}
assertEq(testGetCallObj(), "ok");