summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug1302682.js
blob: 12808092b0e3bef54be4e177fe23108a9c65987c (plain)
1
2
3
4
5
6
7
8
9
10
// |jit-test| --ion-warmup-threshold=50
setJitCompilerOption("offthread-compilation.enable", 0);
gcPreserveCode();

for (var i = 0; i < 30000; i++) {
    var a = inIon() ? 7 : 300;
    var buf = new Uint8ClampedArray(a);
    (function() {}) * this;
    try {} catch (e) {}
}