js/src/jit-test/tests/ion/bug940846.js

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:c4ec1c0ec893
1 function a(f, i) {
2 results = []
3 for (var k = 0; k < 10; ++k) {
4 gc();
5 try {
6 results.push(f(i[k]));
7 } catch (e) {
8 results.push(e);
9 }
10 }
11 }
12 g = (function(x, y) {
13 return Math.fround((x ? Math.f : m0) ? w : Math.fround())
14 })
15 a(g, [Number.MAX_VALUE])

mercurial