1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jit-test/tests/jaeger/chunk/bug712267.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,14 @@ 1.4 +expected = 100; 1.5 +function slice(a, b) { 1.6 + return expected--; 1.7 +} 1.8 +function f() { 1.9 + var length = 8.724e02 ; 1.10 + var index = 0; 1.11 + function get3() { 1.12 + return slice(index, ++index); 1.13 + } 1.14 + var bytes = null; 1.15 + while (bytes = get3()) { } 1.16 +} 1.17 +f();