tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

bug1987592.js (259B)


      1 // |jit-test| --ion-eager
      2 
      3 const arr = new Int32Array(4096);
      4 let count = 0;
      5 for (let i = 0; i < 2; i++) {
      6    i--;
      7    this.Atomics.compareExchange(arr, 1, i, i);
      8    count++;
      9    if (count > 1024) {
     10        break;
     11    }
     12 }
     13 assertEq(count, 1025);