summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug940846.js
blob: 587e24db2994df80d64e311f7260d3f730f87b4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
function a(f, i) {
    results = []
    for (var k = 0; k < 10; ++k) {
        gc();
        try {
            results.push(f(i[k]));
        } catch (e) {
            results.push(e);
        }
    }
}
g = (function(x, y) {
    return Math.fround((x ? Math.f : m0) ? w : Math.fround())
})
a(g, [Number.MAX_VALUE])