summaryrefslogtreecommitdiff
path: root/test/dynamicLibrary.fromasm.imprecise
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/dynamicLibrary.fromasm.imprecise
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/dynamicLibrary.fromasm.imprecise')
-rw-r--r--test/dynamicLibrary.fromasm.imprecise66
1 files changed, 0 insertions, 66 deletions
diff --git a/test/dynamicLibrary.fromasm.imprecise b/test/dynamicLibrary.fromasm.imprecise
deleted file mode 100644
index 905ac3acd..000000000
--- a/test/dynamicLibrary.fromasm.imprecise
+++ /dev/null
@@ -1,66 +0,0 @@
-(module
- (type $none_=>_none (func))
- (type $i32_=>_none (func (param i32)))
- (type $i32_=>_i32 (func (param i32) (result i32)))
- (import "env" "memoryBase" (global $memoryBase$asm2wasm$import i32))
- (import "env" "abortStackOverflow" (func $abortStackOverflow (param i32)))
- (import "env" "_puts" (func $_puts (param i32) (result i32)))
- (global $STACKTOP (mut i32) (i32.const 0))
- (global $STACK_MAX (mut i32) (i32.const 0))
- (global $_global i32 (i32.const 5242912))
- (export "__ZN3FooC2Ev" (func $__ZN3FooC2Ev))
- (export "__post_instantiate" (func $__post_instantiate))
- (export "runPostSets" (func $runPostSets))
- (export "_global" (global $_global))
- (func $__ZN3FooC2Ev (; has Stack IR ;) (param $0 i32)
- (local.set $0
- (global.get $STACKTOP)
- )
- (global.set $STACKTOP
- (i32.add
- (global.get $STACKTOP)
- (i32.const 16)
- )
- )
- (if
- (i32.ge_s
- (global.get $STACKTOP)
- (global.get $STACK_MAX)
- )
- (call $abortStackOverflow
- (i32.const 16)
- )
- )
- (drop
- (call $_puts
- (global.get $memoryBase$asm2wasm$import)
- )
- )
- (global.set $STACKTOP
- (local.get $0)
- )
- )
- (func $runPostSets (; has Stack IR ;)
- (nop)
- )
- (func $__post_instantiate (; has Stack IR ;)
- (global.set $STACKTOP
- (i32.add
- (global.get $memoryBase$asm2wasm$import)
- (i32.const 32)
- )
- )
- (global.set $STACK_MAX
- (i32.add
- (global.get $STACKTOP)
- (i32.const 5242880)
- )
- )
- (call $__ZN3FooC2Ev
- (i32.add
- (global.get $memoryBase$asm2wasm$import)
- (i32.const 5242912)
- )
- )
- )
-)