summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/recompile/patchdouble.js
blob: 4de0838138770f05fa97c8d7da33d80f83368ec8 (plain)
1
2
3
4
5
6
7
// only fix doubles for slots which the recompiled script thinks are doubles.
function foo(x) {
  var y = x & 0xffff;
  y = (y * (x * 1000));
  assertEq(y, 140735340806145000);
}
foo(0x7fffffff);