summaryrefslogtreecommitdiff
path: root/test/merge/noBases.wast.combined
diff options
context:
space:
mode:
Diffstat (limited to 'test/merge/noBases.wast.combined')
-rw-r--r--test/merge/noBases.wast.combined16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/merge/noBases.wast.combined b/test/merge/noBases.wast.combined
index 3fb42a68b..db9b546ce 100644
--- a/test/merge/noBases.wast.combined
+++ b/test/merge/noBases.wast.combined
@@ -5,9 +5,9 @@
(type $FUNCSIG$v$0 (func))
(import "env" "memory" (memory $0 256))
(data (i32.const 100) "hello, A!\n")
- (data (get_global $__memory_base) "")
+ (data (global.get $__memory_base) "")
(data (i32.const 200) "hello, B!\n")
- (import "env" "table" (table $0 1000 anyfunc))
+ (import "env" "table" (table $0 1000 funcref))
(elem (i32.const 10) $only-a $willCollide $some-func $some-collide $only-a)
(elem (i32.const 20) $only-b $willCollide $some-func-b $some-collide)
(import "env" "__memory_base" (global $__memory_base i32))
@@ -42,12 +42,12 @@
(i32.const 789)
)
(drop
- (get_global $global-collide)
+ (global.get $global-collide)
)
(drop
- (get_global $global-a)
+ (global.get $global-a)
)
- (set_global $global-collide-mut
+ (global.set $global-collide-mut
(i32.const 1234)
)
)
@@ -70,12 +70,12 @@
(i32.const 56)
)
(drop
- (get_global $global-collide$0)
+ (global.get $global-collide$0)
)
(drop
- (get_global $global-b)
+ (global.get $global-b)
)
- (set_global $global-collide-mut$0
+ (global.set $global-collide-mut$0
(i32.const 5678)
)
)