summaryrefslogtreecommitdiff
path: root/test/merge/basics.wast.combined
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.combined
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.combined')
-rw-r--r--test/merge/basics.wast.combined38
1 files changed, 19 insertions, 19 deletions
diff --git a/test/merge/basics.wast.combined b/test/merge/basics.wast.combined
index 66e9221a0..4d603b410 100644
--- a/test/merge/basics.wast.combined
+++ b/test/merge/basics.wast.combined
@@ -4,9 +4,9 @@
(type $ii$0 (func (param i32 i32)))
(type $FUNCSIG$v$0 (func))
(import "env" "memory" (memory $0 256))
- (data (get_global $memoryBase) "hello, A!\n\00\00\00\00\00\00hello, B!\n\00\00\00\00\00\00")
- (import "env" "table" (table $0 10 anyfunc))
- (elem (get_global $tableBase) $only-a $willCollide $some-func $some-collide $only-a $some-func $only-b $willCollide$0 $some-func-b $some-collide$0)
+ (data (global.get $memoryBase) "hello, A!\n\00\00\00\00\00\00hello, B!\n\00\00\00\00\00\00")
+ (import "env" "table" (table $0 10 funcref))
+ (elem (global.get $tableBase) $only-a $willCollide $some-func $some-collide $only-a $some-func $only-b $willCollide$0 $some-func-b $some-collide$0)
(import "env" "memoryBase" (global $memoryBase i32))
(import "env" "tableBase" (global $tableBase i32))
(import "env" "__memory_base" (global $__memory_base i32))
@@ -45,21 +45,21 @@
(i32.const 789)
)
(drop
- (get_global $global-collide)
+ (global.get $global-collide)
)
(drop
- (get_global $global-a)
+ (global.get $global-a)
)
(drop
- (get_global $global-a-mut)
+ (global.get $global-a-mut)
)
(drop
- (get_global $memoryBase)
+ (global.get $memoryBase)
)
(drop
- (get_global $tableBase)
+ (global.get $tableBase)
)
- (set_global $global-collide-mut
+ (global.set $global-collide-mut
(i32.const 1234)
)
)
@@ -82,45 +82,45 @@
(i32.const 56)
)
(drop
- (get_global $global-collide$0)
+ (global.get $global-collide$0)
)
(drop
- (get_global $global-b)
+ (global.get $global-b)
)
(drop
- (get_global $global-b-mut)
+ (global.get $global-b-mut)
)
(drop
- (get_global $memoryBase$0)
+ (global.get $memoryBase$0)
)
(drop
- (get_global $tableBase$0)
+ (global.get $tableBase$0)
)
(drop
(i32.add
- (get_global $memoryBase$0)
+ (global.get $memoryBase$0)
(i32.const 1000)
)
)
(drop
(i32.add
- (get_global $tableBase$0)
+ (global.get $tableBase$0)
(i32.const 1000)
)
)
(drop
(i32.add
- (get_global $tableBase$0)
+ (global.get $tableBase$0)
(unreachable)
)
)
(drop
(i32.sub
- (get_global $tableBase$0)
+ (global.get $tableBase$0)
(i32.const 1000)
)
)
- (set_global $global-collide-mut$0
+ (global.set $global-collide-mut$0
(i32.const 5678)
)
)