summaryrefslogtreecommitdiff
path: root/test/use-import-and-drop.fromasm.no-opts
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/use-import-and-drop.fromasm.no-opts
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/use-import-and-drop.fromasm.no-opts')
-rw-r--r--test/use-import-and-drop.fromasm.no-opts14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/use-import-and-drop.fromasm.no-opts b/test/use-import-and-drop.fromasm.no-opts
index 6b885db34..55cb06af9 100644
--- a/test/use-import-and-drop.fromasm.no-opts
+++ b/test/use-import-and-drop.fromasm.no-opts
@@ -1,7 +1,7 @@
(module
(type $FUNCSIG$vi (func (param i32)))
(import "env" "memory" (memory $memory 256 256))
- (import "env" "table" (table $table 0 0 anyfunc))
+ (import "env" "table" (table $table 0 0 funcref))
(import "env" "__memory_base" (global $__memory_base i32))
(import "env" "__table_base" (global $__table_base i32))
(import "env" "setTempRet0" (func $setTempRet0 (param i32)))
@@ -18,15 +18,15 @@
(i32.add
(i32.add
(i32.mul
- (get_local $$b$1)
- (get_local $$x_sroa_0_0_extract_trunc)
+ (local.get $$b$1)
+ (local.get $$x_sroa_0_0_extract_trunc)
)
- (get_local $$2)
+ (local.get $$2)
)
- (get_local $$1$1)
+ (local.get $$1$1)
)
(i32.and
- (get_local $$1$1)
+ (local.get $$1$1)
(i32.const 0)
)
)
@@ -34,7 +34,7 @@
(i32.or
(i32.const 0)
(i32.and
- (get_local $$1$0)
+ (local.get $$1$0)
(i32.const -1)
)
)