diff -r 000000000000 -r 6474c204b198 js/src/jit-test/tests/ion/bug958432.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/js/src/jit-test/tests/ion/bug958432.js Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,27 @@ +function h(i, i) { + i = ([Infinity([])])(1 ? l : arguments) +} +for (var j = 0; j < 2; ++j) { + try { + h(-Number, -Number) + } catch (e) {} +} + +function f() { + function f(i0, i1) { + i0 = i0 | 0; + i = i1 | 0; + switch (1) { + case -3: + switch (f) {} + } { + return 0 + }(arguments) + } + return f +}; +for (var j = 0; j < 5; ++j) { + (function(x) { + f()(f()(x, f()())) + })() +}