summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug1870747.js
blob: c97e056f06c61884ce814a68c39d2dc652fd5bdc (plain)
1
2
3
4
5
6
7
// |jit-test| --fast-warmup; --no-threads; --ion-check-range-analysis; --arm-hwcap=vfp
function foo(x) { return x % -1; }

with ({}) {}
for (var i = 0; i < 1000; i++) {
  foo(i);
}