tor-browser

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

bug-1854068.js (478B)


      1 // |jit-test| --cpu-count=2 --ion-offthread-compile=off --ion-warmup-threshold=10 --baseline-eager; skip-if: !("WebAssembly" in this)
      2 
      3 function wasmEvalText(text) {
      4  return new WebAssembly.Instance(new WebAssembly.Module(wasmTextToBinary(text)));
      5 }
      6 gczeal(19, 1);
      7 let {test} = wasmEvalText(`(module
      8  (func (export "test") (param externref externref) (result externref)
      9    local.get 0
     10  )
     11 )`).exports;
     12 evaluate(`
     13  for (let i = 0; i < 10; ++i)
     14    test(()=>{}, undefined)
     15 `);