summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/warp/bug1646041.js
blob: 892553ed9f7a464bea38cf6dfb5f2ee049d86b2e (plain)
1
2
3
4
5
6
7
8
9
// |jit-test| --ion-warmup-threshold=2
function f() {
    while (true) {
        return 1;
    }
}
for (var i = 0; i < 100; i++) {
    f();
}