tor-browser

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

bug-1767446.js (579B)


      1 // Dead code elimination can remove wasm calls that may leave behind dangling
      2 // try notes.
      3 wasmEvalText(`(module
      4  (type (;0;) (func (result i32 i32 i32)))
      5  (func $main (type 0) (result i32 i32 i32)
      6    try (result i32 i32 i32)  ;; label = @1
      7      call $main
      8      call $main
      9      i32.const 541
     10      i32.const 0
     11      br_if 0 (;@1;)
     12      br_if 0 (;@1;)
     13      br_if 0 (;@1;)
     14      br_if 0 (;@1;)
     15      call $main
     16      call $main
     17      br_if 0 (;@1;)
     18      br_if 0 (;@1;)
     19      call $main
     20      call $main
     21      call $main
     22      unreachable
     23    end
     24    unreachable
     25  )
     26 )`);