summaryrefslogtreecommitdiff
path: root/test/metadce/corners.wast.dced
blob: 14b57d2ccb8f9c641913a509dcc0a2f227a488a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
(module
 (type $0 (func))
 (import "env" "table" (table $timport$0 10 10 funcref))
 (import "env" "STACKTOP" (global $STACKTOP$asm2wasm$import i32))
 (import "env" "imported_twice" (func $imported_twice_a (type $0)))
 (import "env" "an-imported-table-func" (func $imported_table_func (type $0)))
 (global $STACKTOP (mut i32) (global.get $STACKTOP$asm2wasm$import))
 (elem $0 (i32.const 0) $imported_table_func)
 (export "stackAlloc" (func $stackAlloc))
 (func $stackAlloc (type $0)
  (drop
   (global.get $STACKTOP)
  )
  (call $imported_twice_a)
 )
)