1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jit-test/tests/auto-regress/bug496325.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,19 @@ 1.4 +// Binary: cache/js-dbg-32-9d6f5ab54933-linux 1.5 +// Flags: -j 1.6 +// 1.7 +(function() { 1.8 + var Y = function() {}; 1.9 + function g() { 1.10 + function f(x) { 1.11 + for (var j = 0; j < 1; ++j) { 1.12 + x.apply(this); 1.13 + } 1.14 + } 1.15 + return function() { 1.16 + f(Y); 1.17 + } 1.18 + }; 1.19 + for (var i = 0; i < 2; ++i) { 1.20 + g()(); 1.21 + } 1.22 +})();