diff -r 000000000000 -r 6474c204b198 js/src/jit-test/tests/jaeger/regalloc-1.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/js/src/jit-test/tests/jaeger/regalloc-1.js Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,15 @@ +// |jit-test| error: TypeError + +x = 2; + +function tryItOut(c) { + return eval("(function(){" + c + "})"); +} + +function doit() { + var f = tryItOut("((( \"\" \n for each (eval in [null, this, null, this, (1/0), new String('q'), new String('q'), null, null, null, new String('q'), new String('q'), new String('q'), null]) if (this)).eval(x = x)));"); + f(); +} + +doit(); +