1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jit-test/tests/ion/bug729899-1.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,19 @@ 1.4 +var lfcode = new Array(); 1.5 +lfcode.push("function addThis() {}"); 1.6 +lfcode.push("\ 1.7 +var UBound = 0;\ 1.8 +var expectedvalues = [];\ 1.9 +addThis();\ 1.10 +function addThis() {\ 1.11 + expectedvalues[UBound] = expect;\ 1.12 + UBound++;\ 1.13 +}\ 1.14 +"); 1.15 +lfcode.push("\ 1.16 + var expect = 'No Crash';\ 1.17 + for (var i = 0; i < (2 << 16); i++) addThis();\ 1.18 +"); 1.19 +while (true) { 1.20 + var file = lfcode.shift(); if (file == undefined) { break; } 1.21 + try { evaluate(file); } catch(lfVare) {} 1.22 +}