summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug717251.js
blob: b3e5696585673b54cacecc87a0c8cc3fa9838f9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Binary: cache/js-dbg-64-4de07a341aab-linux
// Flags: -m -n -a
//
load(libdir + "immutable-prototype.js");

if (globalPrototypeChainIsMutable())
  this.__proto__ = [];

var msPerDay =   86400000;
for ( var time = 0, year = 1969; year >= 0; year-- ) {
  time -= TimeInYear(year);
}
function DaysInYear( y ) {}
function TimeInYear( y ) {
  return ( DaysInYear(y) * msPerDay );
}