summaryrefslogtreecommitdiff
path: root/test/use-import-and-drop.fromasm.no-opts
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2020-08-17 19:13:42 -0700
committerGitHub <noreply@github.com>2020-08-17 19:13:42 -0700
commit77fe6ded258ce37bd3ea78fd43c8bc0ef639682b (patch)
treebe2c33aa32f9063cdf6d29a64d0f0084e883f8cf /test/use-import-and-drop.fromasm.no-opts
parentf5a8bfd25c83dc05d48cbc525c5e8ec2deb246b3 (diff)
downloadbinaryen-77fe6ded258ce37bd3ea78fd43c8bc0ef639682b.tar.gz
binaryen-77fe6ded258ce37bd3ea78fd43c8bc0ef639682b.tar.bz2
binaryen-77fe6ded258ce37bd3ea78fd43c8bc0ef639682b.zip
Remove asm2wasm (#3042)
Now that fastcomp has been removed from Emscripten, there is no need for the asm2wasm tool which it used to compile fastcomp's asm.js output to wasm. See emscripten-core/emscripten#11860
Diffstat (limited to 'test/use-import-and-drop.fromasm.no-opts')
-rw-r--r--test/use-import-and-drop.fromasm.no-opts51
1 files changed, 0 insertions, 51 deletions
diff --git a/test/use-import-and-drop.fromasm.no-opts b/test/use-import-and-drop.fromasm.no-opts
deleted file mode 100644
index 39f8b315a..000000000
--- a/test/use-import-and-drop.fromasm.no-opts
+++ /dev/null
@@ -1,51 +0,0 @@
-(module
- (type $none_=>_none (func))
- (type $i32_=>_none (func (param i32)))
- (type $none_=>_i32 (func (result i32)))
- (import "env" "memory" (memory $memory 256 256))
- (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)))
- (func $test1 (result i32)
- (local $$b$1 i32)
- (local $$x_sroa_0_0_extract_trunc i32)
- (local $$2 i32)
- (local $$1$1 i32)
- (local $$1$0 i32)
- (return
- (block (result i32)
- (call $setTempRet0
- (i32.or
- (i32.add
- (i32.add
- (i32.mul
- (local.get $$b$1)
- (local.get $$x_sroa_0_0_extract_trunc)
- )
- (local.get $$2)
- )
- (local.get $$1$1)
- )
- (i32.and
- (local.get $$1$1)
- (i32.const 0)
- )
- )
- )
- (i32.or
- (i32.const 0)
- (i32.and
- (local.get $$1$0)
- (i32.const -1)
- )
- )
- )
- )
- )
- (func $test2
- (call $setTempRet0
- (i32.const 10)
- )
- )
-)