diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/dot_s/alias.s | 4 | ||||
-rw-r--r-- | test/dot_s/alias.wast | 10 |
2 files changed, 10 insertions, 4 deletions
diff --git a/test/dot_s/alias.s b/test/dot_s/alias.s index a29470b2f..85a89a16f 100644 --- a/test/dot_s/alias.s +++ b/test/dot_s/alias.s @@ -16,9 +16,11 @@ __exit: # @__exit .globl __needs_exit .type __needs_exit,@function __needs_exit: # @__needs_exit + .result i32 # BB#0: # %entry call __exit_needed@FUNCTION - return + i32.const $push0=, __exit_needed@FUNCTION + return $pop0 .endfunc .Lfunc_end1: .size __needs_exit, .Lfunc_end1-__needs_exit diff --git a/test/dot_s/alias.wast b/test/dot_s/alias.wast index a6c9994b9..c9c64117b 100644 --- a/test/dot_s/alias.wast +++ b/test/dot_s/alias.wast @@ -1,15 +1,19 @@ (module (memory 1) (export "memory" memory) + (type $FUNCSIG$v (func)) (export "__exit" $__exit) (export "__needs_exit" $__needs_exit) - (func $__exit + (table $__exit) + (func $__exit (type $FUNCSIG$v) (local $$0 i32) (return) ) - (func $__needs_exit + (func $__needs_exit (result i32) (call $__exit) - (return) + (return + (i32.const 0) + ) ) ) ;; METADATA: { "asmConsts": {},"staticBump": 12, "initializers": [] } |