blob: 09b7fdaa5a481e0694616484c279f48013efd0ed [file] [log] [blame]
//@ runDefault("--jitPolicyScale=0")
let a = new Float32Array(new ArrayBuffer());
function foo(f) {
try {
f();
} catch {}
}
for (let x of [null, null, null, null, null, null, null, a, a, a, a,]) {
foo(() => Atomics.sub(x));
foo(() => Atomics.sub(x));
foo(() => {
'use strict';
return Atomics.sub(x, 0, 0);
});
foo(() => Atomics.sub());
foo(() => Atomics.sub());
}
for (let z of '') {}