blob: de0ec50f5def5eaab865e7f2bec5e67e73b4abe5 [file] [log] [blame]
function foo(input) {
return Atomics.load(input, 0);
}
noInline(foo);
var a = new Uint8Array(10);
var b = new Uint32Array(10);
for (let i=0; i<1e4; i++) {
foo(a);
foo(b);
}