bug1532289.js (310B)
1 // |jit-test| --ion-warmup-threshold=0; --ion-offthread-compile=off; skip-if: !getJitCompilerOptions()['baseline.enable'] 2 3 // gczeal mode causes test to run too slowly with --no-baseline 4 gczeal(4,40); 5 6 var x; 7 var y = false; 8 9 function f(v) { x = v; while (y) {} } 10 11 for (var z=1; z < 1e5; z++) { f(BigInt(z)); }