tor-browser

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

bug1927339-triangle.js (296B)


      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 b1 = i === 1000;
     10    const b2 = !b1;
     11    trigger(i);
     12    if (!b2 || b1) {
     13      break;
     14    }
     15  }
     16 }
     17 f();