summaryrefslogtreecommitdiff
path: root/test/passes/asyncify_pass-arg=asyncify-addlist@foo_pass-arg=asyncify-ignore-indirect.wast
blob: a7541d5adc3a29385aadc9a451e3028f26a24484 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
(module
  (type $t (func))
  (memory 1 2)
  (table 1 funcref)
  (elem (i32.const 0))
  (import "env" "import" (func $import))
  (func $foo ;; doesn't look like it needs instrumentation, but in add list
    (call $nothing)
    (call_indirect (type $t) (i32.const 0))
  )
  (func $bar ;; doesn't look like it needs instrumentation, and not in add list
    (call $nothing)
    (call_indirect (type $t) (i32.const 0))
  )
  (func $nothing
  )
)