tor-browser

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

call-validate.js (955B)


      1 wasmValidateText(`
      2  (module
      3    (func (result i32 i32)
      4      (i32.const 32)
      5      (i32.const 10)))`);
      6 
      7 wasmValidateText(`
      8  (module
      9    (type $t (func (result i32 i32)))
     10    (func (type $t)
     11      (i32.const 32)
     12      (i32.const 10)))`);
     13 
     14 wasmValidateText(`
     15  (module
     16    (func (result i32 i32)
     17      (block (result i32 i32)
     18        (i32.const 32)
     19        (i32.const 10))))`);
     20 
     21 wasmValidateText(`
     22  (module
     23    (func $return-2 (result i32 i32)
     24      (i32.const 32)
     25      (i32.const 10))
     26    (func $tail-call (result i32 i32)
     27      (call 0)))`);
     28 
     29 wasmValidateText(`
     30  (module
     31    (func $return-2 (result i32 i32)
     32      (i32.const 32)
     33      (i32.const 10))
     34    (func $add (result i32)
     35      (call 0)
     36      i32.add))`);
     37 
     38 wasmValidateText(`
     39  (module
     40    (func $return-2 (param i32 i32) (result i32 i32)
     41      (local.get 0)
     42      (local.get 1))
     43    (func (export "run") (result i32)
     44      (i32.const 32)
     45      (i32.const 10)
     46      (call 0)
     47      i32.add))`);