summaryrefslogtreecommitdiff
path: root/test/merge/fusing.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/merge/fusing.wast')
-rw-r--r--test/merge/fusing.wast6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/merge/fusing.wast b/test/merge/fusing.wast
index 0c537936f..39b0167e0 100644
--- a/test/merge/fusing.wast
+++ b/test/merge/fusing.wast
@@ -2,7 +2,7 @@
(import "env" "memoryBase" (global $memoryBase i32))
(import "env" "tableBase" (global $tableBase i32))
(import "env" "memory" (memory $0 256))
- (import "env" "table" (table 0 anyfunc))
+ (import "env" "table" (table 0 funcref))
(export "foo" (func $foo-func))
(import "env" "bar" (func $bar-func))
(global $a-global i32 (i32.const 0))
@@ -11,8 +11,8 @@
(func $foo-func
(drop (i32.const 1337))
(call $bar-func)
- (drop (get_global $a-global))
- (drop (get_global $b-global))
+ (drop (global.get $a-global))
+ (drop (global.get $b-global))
)
)