summaryrefslogtreecommitdiff
path: root/test/unit.fromasm.imprecise
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-05-28 15:03:26 -0700
committerAlon Zakai <alonzakai@gmail.com>2016-05-28 16:47:04 -0700
commit44aeb85b2fa2c743e2d0f7e00349f99cfcbc7639 (patch)
treef0f7a4bc5cd7d948f4285298b3b3930f30cc0185 /test/unit.fromasm.imprecise
parentb426fda5e43f612ddd122b6aa25a8dd0a549b64f (diff)
downloadbinaryen-44aeb85b2fa2c743e2d0f7e00349f99cfcbc7639.tar.gz
binaryen-44aeb85b2fa2c743e2d0f7e00349f99cfcbc7639.tar.bz2
binaryen-44aeb85b2fa2c743e2d0f7e00349f99cfcbc7639.zip
add a pass that eliminates duplicate functions
Diffstat (limited to 'test/unit.fromasm.imprecise')
-rw-r--r--test/unit.fromasm.imprecise23
1 files changed, 1 insertions, 22 deletions
diff --git a/test/unit.fromasm.imprecise b/test/unit.fromasm.imprecise
index 0ea85eb6c..303a0cabf 100644
--- a/test/unit.fromasm.imprecise
+++ b/test/unit.fromasm.imprecise
@@ -9,7 +9,7 @@
(import $h "env" "h" (param i32))
(import $f64-rem "asm2wasm" "f64-rem" (param f64 f64) (result f64))
(export "big_negative" $big_negative)
- (table $z $big_negative $z $z $w $w $importedDoubles $w $z $cneg)
+ (table $big_negative $big_negative $big_negative $big_negative $big_negative $big_negative $importedDoubles $big_negative $big_negative $cneg)
(func $big_negative
(nop)
)
@@ -85,9 +85,6 @@
(get_local $0)
)
)
- (func $hexLiterals
- (nop)
- )
(func $conversions
(local $0 f32)
(local $1 i32)
@@ -97,9 +94,6 @@
)
)
)
- (func $seq
- (nop)
- )
(func $switcher (param $0 i32) (result i32)
(block $switch-default$3
(block $switch-case$2
@@ -197,9 +191,6 @@
)
(i32.const 0)
)
- (func $blocker
- (nop)
- )
(func $frem (result f64)
(call_import $f64-rem
(f64.const 5.5)
@@ -221,9 +212,6 @@
(func $negZero (result f64)
(f64.const -0)
)
- (func $abs
- (nop)
- )
(func $neg
(local $0 f32)
(call_indirect $FUNCSIG$vf
@@ -251,9 +239,6 @@
(get_local $0)
)
)
- (func $___syscall_ret
- (nop)
- )
(func $smallCompare (result i32)
(local $0 i32)
(local $1 i32)
@@ -431,10 +416,4 @@
)
(i32.const 0)
)
- (func $z
- (nop)
- )
- (func $w
- (nop)
- )
)