summaryrefslogtreecommitdiff
path: root/test/merge/basics.wast
diff options
context:
space:
mode:
authorThomas Lively <7121787+tlively@users.noreply.github.com>2019-01-07 13:24:58 -0800
committerGitHub <noreply@github.com>2019-01-07 13:24:58 -0800
commit7d94900ded8e2e5ce8ef8ee2687528531d8f2a97 (patch)
treed8bba13d306b0c5ecba384384e602e6cccc83015 /test/merge/basics.wast
parent6f91af190effd7b8a5969314dd4fb3d2ec540524 (diff)
downloadbinaryen-7d94900ded8e2e5ce8ef8ee2687528531d8f2a97.tar.gz
binaryen-7d94900ded8e2e5ce8ef8ee2687528531d8f2a97.tar.bz2
binaryen-7d94900ded8e2e5ce8ef8ee2687528531d8f2a97.zip
Massive renaming (#1855)
Automated renaming according to https://github.com/WebAssembly/spec/issues/884#issuecomment-426433329.
Diffstat (limited to 'test/merge/basics.wast')
-rw-r--r--test/merge/basics.wast18
1 files changed, 9 insertions, 9 deletions
diff --git a/test/merge/basics.wast b/test/merge/basics.wast
index 06063e64c..b5c40feab 100644
--- a/test/merge/basics.wast
+++ b/test/merge/basics.wast
@@ -3,15 +3,15 @@
(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))
(import "env" "some-func" (func $some-func))
(import "env" "some-collide" (func $some-collide))
- (data (get_global $memoryBase) "hello, A!\n")
+ (data (global.get $memoryBase) "hello, A!\n")
(global $global-collide i32 (i32.const 0))
(global $global-collide-mut (mut i32) (i32.const 0))
(global $global-a i32 (i32.const 1))
(global $global-a-mut (mut i32) (i32.const 1))
- (elem (get_global $tableBase) $only-a $willCollide $some-func $some-collide $only-a)
+ (elem (global.get $tableBase) $only-a $willCollide $some-func $some-collide $only-a)
(export "exp-a" (func $only-a))
(export "exp-collide" (func $only-a))
(export "exp-collide2" (func $willCollide))
@@ -25,12 +25,12 @@
(i32.const 456)
(i32.const 789)
)
- (drop (get_global $global-collide))
- (drop (get_global $global-a))
- (drop (get_global $global-a-mut))
- (drop (get_global $memoryBase))
- (drop (get_global $tableBase))
- (set_global $global-collide-mut (i32.const 1234))
+ (drop (global.get $global-collide))
+ (drop (global.get $global-a))
+ (drop (global.get $global-a-mut))
+ (drop (global.get $memoryBase))
+ (drop (global.get $tableBase))
+ (global.set $global-collide-mut (i32.const 1234))
)
(func $willCollide
(drop (i32.const 200))