1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jit-test/tests/jaeger/recompile/bug649769.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,16 @@ 1.4 + 1.5 +function g(x) { 1.6 + if (!x) { 1.7 + throw 1; 1.8 + } 1.9 +} 1.10 + 1.11 +function f(a, b, c, d) { 1.12 + var x = [].push(3); 1.13 + g(true); 1.14 + assertEq(x, 1); 1.15 +} 1.16 +f(1.2, 2, 3, 4); 1.17 +gc(); 1.18 +f(1, 2, 3, 4); 1.19 +