summaryrefslogtreecommitdiff
path: root/test/merge/dylib.wasm.combined
diff options
context:
space:
mode:
Diffstat (limited to 'test/merge/dylib.wasm.combined')
-rw-r--r--test/merge/dylib.wasm.combined26
1 files changed, 13 insertions, 13 deletions
diff --git a/test/merge/dylib.wasm.combined b/test/merge/dylib.wasm.combined
index de84f63cb..1e0543a5c 100644
--- a/test/merge/dylib.wasm.combined
+++ b/test/merge/dylib.wasm.combined
@@ -7,8 +7,8 @@
(type $1$0 (func (result i32)))
(type $2$0 (func))
(import "env" "memory" (memory $2 256))
- (data (get_global $gimport$0) "hello, world!\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00")
- (import "env" "table" (table $timport$3 0 anyfunc))
+ (data (global.get $gimport$0) "hello, world!\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00")
+ (import "env" "table" (table $timport$3 0 funcref))
(import "env" "memoryBase" (global $gimport$0 i32))
(import "env" "tableBase" (global $gimport$4 i32))
(import "env" "__memory_base" (global $__memory_base i32))
@@ -33,7 +33,7 @@
(block $label$2 (result i32)
(drop
(call $import$1
- (get_global $gimport$0)
+ (global.get $gimport$0)
)
)
(i32.const 0)
@@ -49,15 +49,15 @@
(call $__post_instantiate$0)
(block $label$1
(block $label$2
- (set_global $global$0
+ (global.set $global$0
(i32.add
- (get_global $gimport$0)
+ (global.get $gimport$0)
(i32.const 16)
)
)
- (set_global $global$1
+ (global.set $global$1
(i32.add
- (get_global $global$0)
+ (global.get $global$0)
(i32.const 32)
)
)
@@ -69,10 +69,10 @@
(local $0 i32)
(block $label$1 (result i32)
(block $label$2 (result i32)
- (set_local $0
+ (local.set $0
(call $_main)
)
- (get_local $0)
+ (local.get $0)
)
)
)
@@ -84,12 +84,12 @@
(func $__post_instantiate$0 (; 6 ;) (type $2$0)
(block $label$1
(block $label$2
- (set_global $global$0$0
- (get_global $gimport$0$0)
+ (global.set $global$0$0
+ (global.get $gimport$0$0)
)
- (set_global $global$1$0
+ (global.set $global$1$0
(i32.add
- (get_global $global$0$0)
+ (global.get $global$0$0)
(i32.const 10)
)
)