summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug691603.js
blob: 6c27b80e8aae3c67a1ccbdd0e933878d3499cd55 (plain)
1
2
3
4
5
6
7
8
9
10
11
// |jit-test| error: ReferenceError
function bitsinbyte(b) {
    while(m<0x100) {    }
}
function TimeFunc(func) {
    for(var y=0; y<256; y++) func(y);
}
function nestedExit2() {
    TimeFunc(bitsinbyte);
}
assertEq(nestedExit2(), "ok");