summaryrefslogtreecommitdiff
path: root/test/hello_world.fromasm.no-opts
blob: dae1480b7481cce5e6290604c5c97fbdec128cc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
(module
  (import "env" "memory" (memory $0 256 256))
  (import "env" "table" (table 0 0 anyfunc))
  (import "env" "memoryBase" (global $memoryBase i32))
  (import "env" "tableBase" (global $tableBase i32))
  (export "add" (func $add))
  (func $add (param $x i32) (param $y i32) (result i32)
    (return
      (i32.add
        (get_local $x)
        (get_local $y)
      )
    )
  )
)