summaryrefslogtreecommitdiff
path: root/test/emcc_hello_world.fromasm.imprecise
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-11-15 21:36:33 -0800
committerAlon Zakai <alonzakai@gmail.com>2016-12-07 16:50:04 -1000
commit98e9e604c7e2e4f928abe8f05691df90cddf09e4 (patch)
tree9497de28012c109ae0e6e958aca8968e8a3d97cf /test/emcc_hello_world.fromasm.imprecise
parent49bdfd20094e909fb6f4ea989e2a2cbfe01e8741 (diff)
downloadbinaryen-98e9e604c7e2e4f928abe8f05691df90cddf09e4.tar.gz
binaryen-98e9e604c7e2e4f928abe8f05691df90cddf09e4.tar.bz2
binaryen-98e9e604c7e2e4f928abe8f05691df90cddf09e4.zip
add a RemoveUnusedModuleElements pass, and make LegalizeJSInterface create TempRet0 if needed (otherwise we might remove it before we use it)
Diffstat (limited to 'test/emcc_hello_world.fromasm.imprecise')
-rw-r--r--test/emcc_hello_world.fromasm.imprecise29
1 files changed, 0 insertions, 29 deletions
diff --git a/test/emcc_hello_world.fromasm.imprecise b/test/emcc_hello_world.fromasm.imprecise
index 806735e42..65bd295bc 100644
--- a/test/emcc_hello_world.fromasm.imprecise
+++ b/test/emcc_hello_world.fromasm.imprecise
@@ -9,10 +9,6 @@
(import "env" "STACKTOP" (global $STACKTOP$asm2wasm$import i32))
(import "env" "STACK_MAX" (global $STACK_MAX$asm2wasm$import i32))
(import "env" "tempDoublePtr" (global $tempDoublePtr$asm2wasm$import i32))
- (import "env" "ABORT" (global $ABORT$asm2wasm$import i32))
- (import "env" "cttz_i8" (global $cttz_i8$asm2wasm$import i32))
- (import "global" "NaN" (global $nan$asm2wasm$import f64))
- (import "global" "Infinity" (global $inf$asm2wasm$import f64))
(import "env" "abort" (func $abort))
(import "env" "nullFunc_ii" (func $nullFunc_ii (param i32)))
(import "env" "nullFunc_iiii" (func $nullFunc_iiii (param i32)))
@@ -39,34 +35,9 @@
(global $STACKTOP (mut i32) (get_global $STACKTOP$asm2wasm$import))
(global $STACK_MAX (mut i32) (get_global $STACK_MAX$asm2wasm$import))
(global $tempDoublePtr (mut i32) (get_global $tempDoublePtr$asm2wasm$import))
- (global $ABORT (mut i32) (get_global $ABORT$asm2wasm$import))
- (global $cttz_i8 (mut i32) (get_global $cttz_i8$asm2wasm$import))
(global $__THREW__ (mut i32) (i32.const 0))
(global $threwValue (mut i32) (i32.const 0))
- (global $setjmpId (mut i32) (i32.const 0))
- (global $undef (mut i32) (i32.const 0))
- (global $nan (mut f64) (get_global $nan$asm2wasm$import))
- (global $inf (mut f64) (get_global $inf$asm2wasm$import))
- (global $tempInt (mut i32) (i32.const 0))
- (global $tempBigInt (mut i32) (i32.const 0))
- (global $tempBigIntP (mut i32) (i32.const 0))
- (global $tempBigIntS (mut i32) (i32.const 0))
- (global $tempBigIntR (mut f64) (f64.const 0))
- (global $tempBigIntI (mut i32) (i32.const 0))
- (global $tempBigIntD (mut i32) (i32.const 0))
- (global $tempValue (mut i32) (i32.const 0))
- (global $tempDouble (mut f64) (f64.const 0))
(global $tempRet0 (mut i32) (i32.const 0))
- (global $tempRet1 (mut i32) (i32.const 0))
- (global $tempRet2 (mut i32) (i32.const 0))
- (global $tempRet3 (mut i32) (i32.const 0))
- (global $tempRet4 (mut i32) (i32.const 0))
- (global $tempRet5 (mut i32) (i32.const 0))
- (global $tempRet6 (mut i32) (i32.const 0))
- (global $tempRet7 (mut i32) (i32.const 0))
- (global $tempRet8 (mut i32) (i32.const 0))
- (global $tempRet9 (mut i32) (i32.const 0))
- (global $tempFloat (mut f64) (f64.const 0))
(export "_i64Subtract" (func $_i64Subtract))
(export "_free" (func $_free))
(export "_main" (func $_main))