diff -r 000000000000 -r 6474c204b198 js/src/jit-test/tests/auto-regress/bug782129.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/js/src/jit-test/tests/auto-regress/bug782129.js Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,24 @@ +// Binary: cache/js-dbg-32-f1764bf06b29-linux +// Flags: --ion-eager +// + +var callStack = new Array(); +function enterFunc (funcName) { + funcName += "()"; + callStack.push(funcName); +} +function exitFunc (funcName) { + var lastFunc = callStack.pop(); + funcName += "()"; + if (lastFunc != funcName) + print(); +} +try { + test(); +} catch(exc1) {} +function test() { + enterFunc ('test'); + test(); +} +for (var l = 0; l < 50000; l++) + exitFunc ('test');