js/src/jit-test/tests/sharedbuf/gc-one-view.js

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:c613f81d004a
1 // Test tracing of a single linked ArrayBufferViewObject.
2
3 function f() {
4 var x = new SharedArrayBuffer(0x1000);
5 var y = new Int32Array(x);
6 gc();
7 }
8
9 if (typeof SharedArrayBuffer !== "undefined")
10 f();

mercurial