1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jit-test/tests/baseline/bug840984.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,17 @@ 1.4 +function foo() { 1.5 + x = null; 1.6 +} 1.7 +function f() { 1.8 + for (var i=0; i<99; i++) { 1.9 + x = null; 1.10 + if (i >= 97) { 1.11 + gc(); 1.12 + gc(); 1.13 + foo(); 1.14 + } 1.15 + x = {}; 1.16 + if (i >= 97) 1.17 + foo(); 1.18 + } 1.19 +} 1.20 +f();