summaryrefslogtreecommitdiff
path: root/test/passes/simplify-locals-notee-nostructure.txt
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/passes/simplify-locals-notee-nostructure.txt
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/passes/simplify-locals-notee-nostructure.txt')
-rw-r--r--test/passes/simplify-locals-notee-nostructure.txt18
1 files changed, 9 insertions, 9 deletions
diff --git a/test/passes/simplify-locals-notee-nostructure.txt b/test/passes/simplify-locals-notee-nostructure.txt
index fc88d14d6..eaaeb6cd2 100644
--- a/test/passes/simplify-locals-notee-nostructure.txt
+++ b/test/passes/simplify-locals-notee-nostructure.txt
@@ -6,15 +6,15 @@
(local $z i32)
(local $a i32)
(local $b i32)
- (set_local $x
+ (local.set $x
(i32.const 1)
)
(if
- (get_local $x)
+ (local.get $x)
(nop)
)
(if
- (get_local $x)
+ (local.get $x)
(nop)
)
(nop)
@@ -33,32 +33,32 @@
)
(if
(i32.const 6)
- (set_local $a
+ (local.set $a
(i32.const 7)
)
- (set_local $a
+ (local.set $a
(i32.const 8)
)
)
(drop
- (get_local $a)
+ (local.get $a)
)
(block $val
(if
(i32.const 10)
(block $block4
- (set_local $b
+ (local.set $b
(i32.const 11)
)
(br $val)
)
)
- (set_local $b
+ (local.set $b
(i32.const 12)
)
)
(drop
- (get_local $b)
+ (local.get $b)
)
)
)