diff options
Diffstat (limited to 'test/passes/asyncify_pass-arg=asyncify-whitelist@foo,bar.wast')
-rw-r--r-- | test/passes/asyncify_pass-arg=asyncify-whitelist@foo,bar.wast | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/passes/asyncify_pass-arg=asyncify-whitelist@foo,bar.wast b/test/passes/asyncify_pass-arg=asyncify-whitelist@foo,bar.wast new file mode 100644 index 000000000..355ca1b11 --- /dev/null +++ b/test/passes/asyncify_pass-arg=asyncify-whitelist@foo,bar.wast @@ -0,0 +1,20 @@ +(module + (memory 1 2) + (import "env" "import" (func $import)) + (func $foo + (call $import) + ) + (func $bar + (call $import) + ) + (func $baz + (call $import) + ) + (func $other1 + (call $foo) ;; even though we call foo, we are not in the whitelist, so do not instrument us + ) + (func $other2 + (call $baz) + ) +) + |