summaryrefslogtreecommitdiff
path: root/test/lld/main_module_table_5.wat.out
blob: dd5e248309a56e48d7fe0d78db46afc33b711d1b (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
(module
 (type $none_=>_none (func))
 (type $i32_=>_none (func (param i32)))
 (import "env" "table" (table $timport$9 2 funcref))
 (elem (global.get $tb) $other $stuff $__stdio_write)
 (import "env" "__stack_pointer" (global $sp_import i32))
 (import "env" "__table_base" (global $tb i32))
 (global $gimport$9 (mut i32) (i32.const 0))
 (global $global i32 (i32.const 42))
 (global $sp (mut i32) (global.get $sp_import))
 (export "__stdio_write" (func $__stdio_write))
 (export "__data_end" (global $global))
 (export "dynCall_v" (func $dynCall_v))
 (export "__assign_got_enties" (func $__assign_got_enties))
 (func $__stdio_write
  (nop)
 )
 (func $other
  (nop)
 )
 (func $stuff
  (nop)
 )
 (func $__assign_got_enties
  (global.set $gimport$9
   (i32.add
    (global.get $tb)
    (i32.const 2)
   )
  )
 )
 (func $dynCall_v (param $fptr i32)
  (call_indirect (type $none_=>_none)
   (local.get $fptr)
  )
 )
)
(;
--BEGIN METADATA --
{
  "staticBump": 4294966770,
  "tableSize": 2,
  "initializers": [
    "__assign_got_enties"
  ],
  "declares": [
  ],
  "externs": [
    "___stack_pointer",
    "___table_base"
  ],
  "exports": [
    "__stdio_write",
    "dynCall_v",
    "__assign_got_enties"
  ],
  "namedGlobals": {
    "__data_end" : "42"
  },
  "invokeFuncs": [
  ],
  "mainReadsParams": 0,
  "features": [
  ]
}
-- END METADATA --
;)