summaryrefslogtreecommitdiff
path: root/test/lld/shared_longjmp.wat.out
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2020-10-02 09:25:15 -0700
committerGitHub <noreply@github.com>2020-10-02 09:25:15 -0700
commitecaa818922fe2571649a621a00f7f3c40ebb217a (patch)
treedd49e1a4f90beb6853ce9f8900b032cbdf54dd83 /test/lld/shared_longjmp.wat.out
parent42aec827c2233eb4adbb56c6d1b23d70399bfac1 (diff)
downloadbinaryen-ecaa818922fe2571649a621a00f7f3c40ebb217a.tar.gz
binaryen-ecaa818922fe2571649a621a00f7f3c40ebb217a.tar.bz2
binaryen-ecaa818922fe2571649a621a00f7f3c40ebb217a.zip
Let GenerateDynCalls generate dynCalls for invokes (#3192)
This moves dynCall generating functionaity for invokes from `EmscriptenGlueGenerator` to `GenerateDynCalls` pass. So now `GenerateDynCalls` pass will take care of all cases we need dynCalls: functions in tables and invokes.
Diffstat (limited to 'test/lld/shared_longjmp.wat.out')
-rw-r--r--test/lld/shared_longjmp.wat.out14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/lld/shared_longjmp.wat.out b/test/lld/shared_longjmp.wat.out
index cc42f7368..7d987454a 100644
--- a/test/lld/shared_longjmp.wat.out
+++ b/test/lld/shared_longjmp.wat.out
@@ -143,13 +143,6 @@
)
(unreachable)
)
- (func $dynCall_vii (param $fptr i32) (param $0 i32) (param $1 i32)
- (call_indirect (type $i32_i32_=>_none)
- (local.get $0)
- (local.get $1)
- (local.get $fptr)
- )
- )
(func $__assign_got_enties
(global.set $gimport$13
(call $g$__THREW__)
@@ -161,6 +154,13 @@
(call $fp$emscripten_longjmp_jmpbuf$vii)
)
)
+ (func $dynCall_vii (param $fptr i32) (param $0 i32) (param $1 i32)
+ (call_indirect (type $i32_i32_=>_none)
+ (local.get $0)
+ (local.get $1)
+ (local.get $fptr)
+ )
+ )
(func $__post_instantiate
(call $__assign_got_enties)
(call $0)