1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jit-test/tests/auto-regress/bug717251.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,12 @@ 1.4 +// Binary: cache/js-dbg-64-4de07a341aab-linux 1.5 +// Flags: -m -n -a 1.6 +// 1.7 +this.__proto__ = []; 1.8 +var msPerDay = 86400000; 1.9 +for ( var time = 0, year = 1969; year >= 0; year-- ) { 1.10 + time -= TimeInYear(year); 1.11 +} 1.12 +function DaysInYear( y ) {} 1.13 +function TimeInYear( y ) { 1.14 + return ( DaysInYear(y) * msPerDay ); 1.15 +}