diff -r 000000000000 -r 6474c204b198 js/src/jit-test/tests/auto-regress/bug755639.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/js/src/jit-test/tests/auto-regress/bug755639.js Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,34 @@ +// Binary: cache/js-dbg-64-bfc259be3fa2-linux +// Flags: -m -n -a +// + +if (typeof gcPreserveCode != "function") { + function gcPreserveCode() {} +} + +if (typeof gcslice != "function") { + function gcslice() {} +} + +function f(t) +{ + for (var i = 0; i < 1; ++i) { + if (typeof(t) != "string") { + } + } +} +function m(d) +{ + if (d == 0) + return ""; + f(m(d - 1)); +} +m(1); +gcPreserveCode(); +try { + mjitChunkLimit(1); +} catch(exc1) {} +gcslice(0); +m(1); +gc(); +m(2);