summaryrefslogtreecommitdiff
path: root/test/passes/instrument-locals.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/passes/instrument-locals.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/passes/instrument-locals.wast')
-rw-r--r--test/passes/instrument-locals.wast32
1 files changed, 16 insertions, 16 deletions
diff --git a/test/passes/instrument-locals.wast b/test/passes/instrument-locals.wast
index b7e34c6d6..f96399d02 100644
--- a/test/passes/instrument-locals.wast
+++ b/test/passes/instrument-locals.wast
@@ -5,25 +5,25 @@
(local $z f32)
(local $w f64)
- (drop (get_local $x))
- (drop (get_local $y))
- (drop (get_local $z))
- (drop (get_local $w))
+ (drop (local.get $x))
+ (drop (local.get $y))
+ (drop (local.get $z))
+ (drop (local.get $w))
- (drop (get_local $x))
- (drop (get_local $y))
- (drop (get_local $z))
- (drop (get_local $w))
+ (drop (local.get $x))
+ (drop (local.get $y))
+ (drop (local.get $z))
+ (drop (local.get $w))
- (set_local $x (i32.const 1))
- (set_local $y (i64.const 2))
- (set_local $z (f32.const 3.21))
- (set_local $w (f64.const 4.321))
+ (local.set $x (i32.const 1))
+ (local.set $y (i64.const 2))
+ (local.set $z (f32.const 3.21))
+ (local.set $w (f64.const 4.321))
- (set_local $x (i32.const 11))
- (set_local $y (i64.const 22))
- (set_local $z (f32.const 33.21))
- (set_local $w (f64.const 44.321))
+ (local.set $x (i32.const 11))
+ (local.set $y (i64.const 22))
+ (local.set $z (f32.const 33.21))
+ (local.set $w (f64.const 44.321))
)
)