blob: 824344c6f10656c3f7dfd66b3b4fa223aad6726e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// |jit-test| --ion-warmup-threshold=50
setJitCompilerOption("offthread-compilation.enable", 0);
gcPreserveCode();
function f() {
for (var i=0; i<30000; i++) {
var a = inIon() ? 0 : 300;
var buf = new Uint8ClampedArray(a);
(function() {}) * this;
}
try {} catch(e) {}
}
f();
|