kit

kit
git clone https://git.ryansepassi.com/git/kit.git
Log | Files | Refs | README

named_refs.wat (229B)


      1 (module
      2   (func $add2 (param $x i32) (result i32)
      3     (local $tmp i32)
      4     (local.set $tmp (i32.add (local.get $x) (i32.const 2)))
      5     (local.get $tmp))
      6   (func (export "test_main") (result i32)
      7     (call $add2 (i32.const 40))))