tor-browser

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

bug1927339-diamond.js (327B)


      1 // |jit-test| --fast-warmup; --gc-zeal=10; --cache-ir-stubs=off; --no-threads
      2 function trigger(i) {
      3  if (i === 49) {
      4    gc();
      5  }
      6 }
      7 function f() {
      8  for (let i = 0; i < 50; i++) {
      9    const b0 = i === 1000;
     10    const b1 = i === 2000;
     11    const b2 = !!b1;
     12    trigger(i);
     13    if (b2 ? b0 : b1) {
     14      break;
     15    }
     16  }
     17 }
     18 f();