summaryrefslogtreecommitdiff
path: root/test/metadce/outside.wast.dced
blob: 986a8f9ac3c5106080adbc6993d551846f64687e (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
(module
 (type $FUNCSIG$v (func))
 (import "env" "memory" (memory $0 256 256))
 (data (i32.const 1024) "abcd")
 (data (get_global $from_segment) "abcd")
 (import "env" "table" (table 10 10 anyfunc))
 (elem (get_global $from_segment_2) $table_func)
 (import "env" "DYNAMICTOP_PTR" (global $DYNAMICTOP_PTR$asm2wasm$import i32))
 (import "env" "js_func" (func $a_js_func))
 (global $__THREW__ (mut i32) (i32.const 0))
 (global $from_segment (mut i32) (i32.const 0))
 (global $from_segment_2 (mut i32) (i32.const 0))
 (export "wasm_func" (func $a_wasm_func))
 (func $table_func (; 1 ;) (type $FUNCSIG$v)
  (nop)
 )
 (func $a_wasm_func (; 2 ;) (type $FUNCSIG$v)
  (call $a_js_func)
  (drop
   (get_global $DYNAMICTOP_PTR$asm2wasm$import)
  )
  (drop
   (get_global $__THREW__)
  )
 )
)