summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug724975.js
blob: 745e2db4092a66d0f8b2dd36420dea981fac5109 (plain)
1
2
3
4
5
6
7
8
9
10
11
LastIndexOf("hello", "ll", 5);
function LastIndexOf(string, search, position) {
    var j = 0;
    for (;;) {
        for (;;) {
            if (string != search) break;
        }
        if (j++ > 100)
            break;
    }
}