tor-browser

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

bug1895123.js (432B)


      1 // |jit-test| slow
      2 
      3 // Tests import stubs stack maps.
      4 
      5 (function t() {
      6  timeout(.0001, () => {
      7    gc(); t(); return true;
      8  });
      9 })();
     10 
     11 var ins = wasmEvalText(`(module
     12  (import "" "f" (func $f (param externref i32) (param f64)))
     13  (export "main" (func $f))
     14 )`, {"": {f: async (i) => { },},});
     15 
     16 var t0 = performance.now();
     17 while (performance.now() - t0 < 2000) {
     18  for (let i = 0; i < 100; i++)
     19     ins.exports.main(void 0, 1);
     20 }