Debian Codegraph @

js/src/jit-test/tests/basic/bug1296015.js

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