summaryrefslogtreecommitdiff
path: root/test/lld/main_module_table_5.wat.out
blob: 3620dc0b47d48a2d5a413579191410eb89162a6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
(module
 (type $none_=>_none (func))
 (type $i32_=>_none (func (param i32)))
 (import "env" "table" (table $timport$9 1 funcref))
 (import "env" "__stack_pointer" (global $sp (mut i32)))
 (import "GOT.func" "__stdio_write" (global $gimport$9 (mut i32)))
 (import "env" "__table_base" (global $tb i32))
 (global $global i32 (i32.const 42))
 (elem (global.get $tb) $other $stuff)
 (export "__stdio_write" (func $__stdio_write))
 (export "__data_end" (global $global))
 (export "dynCall_v" (func $dynCall_v))
 (func $__stdio_write
  (nop)
 )
 (func $other
  (nop)
 )
 (func $stuff
  (nop)
 )
 (func $dynCall_v (param $fptr i32)
  (call_indirect (type $none_=>_none)
   (local.get $fptr)
  )
 )
)