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

for (i=0;i<10000;++i) {
    a = inIon() ? 0 : 300;
    buf = new Uint8ClampedArray(a);
}