summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testEliminatedGuardWithinAnchor.js
blob: 25d0be96ca6ba0d38e2b83a0e04c50e797f24ecb (plain)
1
2
3
4
5
6
function testEliminatedGuardWithinAnchor() {
    for (let i = 0; i < 5; ++i) { i / (i * i); }
    return "ok";
}

assertEq(testEliminatedGuardWithinAnchor(), "ok");