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