summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug893732.js
blob: fe7f0d6a42e73b9a4d1820957664fa4e325d83fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

var arr = new Int8Array(100);
function f(a) {
  for(var i=0; i<30; i++) {
    x = a[85.3];
  }
}
f(arr);

var buf = serialize(new Date(NaN));
var n =  -(8.64e15 + 1);
var nbuf = serialize(n);
for (var j = 0; j < 8; j++)
  buf[j + (0.00000000123)] = nbuf[j];