1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jit-test/tests/auto-regress/bug605011.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,19 @@ 1.4 +// Binary: cache/js-dbg-32-47a8311cf0bb-linux 1.5 +// Flags: 1.6 +// 1.7 +function g(x, n) { 1.8 + for (var i = 0; i < n; ++i) { 1.9 + x = { 1.10 + a: x 1.11 + }; 1.12 + } 1.13 + return x; 1.14 +} 1.15 +try { 1.16 + d = g(0, 672); 1.17 +} catch(exc1) {} 1.18 +(function() { 1.19 + try { 1.20 + gczeal(2)(uneval(this)) 1.21 + } catch(exc2) {} 1.22 +})()