tor-browser

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

regress-1597200.js (910B)


      1 new WebAssembly.Instance(new WebAssembly.Module(wasmTextToBinary(`
      2 (module
      3  (func (export "main") (result i32)
      4    (i32.const 1)
      5    (i32.const 2)
      6    (i32.const 3)
      7    (loop (param i32 i32 i32)
      8      (i32.popcnt)
      9      (i32.const -63)
     10      (br 0))
     11    (unreachable)))`)));
     12 
     13 wasmFullPass(`
     14 (module
     15  (func (export "run") (result i32)
     16    (block (result i32 i32 i32)
     17      (i32.const 41)
     18      (i32.const 42)
     19      (i32.const 43)
     20      (loop (param i32 i32 i32)
     21        (i32.eqz)
     22        (i32.const -63)
     23        (br 1))
     24      (unreachable))
     25    (drop)
     26    (drop)))`,
     27            42);
     28 
     29 wasmFullPass(`
     30 (module
     31  (func (export "run") (result i32)
     32    (block (result i32 i32 i32)
     33      (i32.popcnt (i32.const 0x0))
     34      (i32.popcnt (i32.const 0xf))
     35      (i32.popcnt (i32.const 0xff))
     36      (i32.popcnt (i32.const 0xfff))
     37      (block) ;; Force a sync().
     38      (br 0))
     39    (drop)
     40    (drop)))`,
     41             4);