summaryrefslogtreecommitdiff
path: root/test/llvm_autogenerated/unused-argument.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/llvm_autogenerated/unused-argument.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/llvm_autogenerated/unused-argument.wast')
-rw-r--r--test/llvm_autogenerated/unused-argument.wast14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/llvm_autogenerated/unused-argument.wast b/test/llvm_autogenerated/unused-argument.wast
index 48d07e19b..2bb8c3a57 100644
--- a/test/llvm_autogenerated/unused-argument.wast
+++ b/test/llvm_autogenerated/unused-argument.wast
@@ -2,7 +2,7 @@
(type $FUNCSIG$i (func (result i32)))
(import "env" "return_something" (func $return_something (result i32)))
(import "env" "memory" (memory $0 1))
- (table 0 anyfunc)
+ (table 0 funcref)
(data (i32.const 4) "\10\04\00\00")
(export "unused_first" (func $unused_first))
(export "unused_second" (func $unused_second))
@@ -12,12 +12,12 @@
(export "stackRestore" (func $stackRestore))
(func $unused_first (; 1 ;) (param $0 i32) (param $1 i32) (result i32)
(return
- (get_local $1)
+ (local.get $1)
)
)
(func $unused_second (; 2 ;) (param $0 i32) (param $1 i32) (result i32)
(return
- (get_local $0)
+ (local.get $0)
)
)
(func $call_something (; 3 ;)
@@ -35,24 +35,24 @@
(local $1 i32)
(i32.store offset=4
(i32.const 0)
- (tee_local $1
+ (local.tee $1
(i32.and
(i32.sub
(i32.load offset=4
(i32.const 0)
)
- (get_local $0)
+ (local.get $0)
)
(i32.const -16)
)
)
)
- (get_local $1)
+ (local.get $1)
)
(func $stackRestore (; 6 ;) (param $0 i32)
(i32.store offset=4
(i32.const 0)
- (get_local $0)
+ (local.get $0)
)
)
)