diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-04-11 21:21:50 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-04-11 21:24:24 -0700 |
commit | 5da280167ac6f3e76d27c109ee08ae1747405b5c (patch) | |
tree | 6b84391334e16e8bef46fc8629a33fc9b0747659 /test/unit.fromasm | |
parent | 546a234d6e195a69c5e0b89cf20ed020f8d09db5 (diff) | |
download | binaryen-5da280167ac6f3e76d27c109ee08ae1747405b5c.tar.gz binaryen-5da280167ac6f3e76d27c109ee08ae1747405b5c.tar.bz2 binaryen-5da280167ac6f3e76d27c109ee08ae1747405b5c.zip |
drop completely unused locals in ReorderLocals
Diffstat (limited to 'test/unit.fromasm')
-rw-r--r-- | test/unit.fromasm | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/test/unit.fromasm b/test/unit.fromasm index 3aee32296..d426f377d 100644 --- a/test/unit.fromasm +++ b/test/unit.fromasm @@ -13,7 +13,6 @@ (export "big_negative" $big_negative) (table $z $big_negative $z $z $w $w $importedDoubles $w $z $cneg) (func $big_negative - (local $temp f64) (f64.const -2147483648) (f64.const -2147483648) (f64.const -21474836480) @@ -21,7 +20,6 @@ (f64.const -0.039625) ) (func $importedDoubles (result f64) - (local $temp f64) (f64.add (f64.add (f64.add @@ -73,7 +71,6 @@ (func $doubleCompares (param $x f64) (param $y f64) (result f64) (local $Int f64) (local $Double i32) - (local $t f64) (if (f64.gt (get_local $x) @@ -149,7 +146,6 @@ ) ) (func $seq - (local $J f64) (f64.sub (block (f64.const 0.1) @@ -162,7 +158,6 @@ ) ) (func $switcher (param $x i32) (result i32) - (local $waka i32) (block $switch-default$3 (block $switch-case$2 (block $switch-case$1 @@ -278,7 +273,6 @@ ) ) (func $big_uint_div_u (result i32) - (local $x i32) (return (i32.and (i32.div_u @@ -308,9 +302,6 @@ ) (func $abs (local $asm2wasm_i32_temp i32) - (local $z f32) - (local $y f64) - (local $x i32) (block (select (i32.sub @@ -437,7 +428,6 @@ ) ) (func $ceiling_32_64 (param $u f32) (param $B f64) - (local $temp f32) (f32.demote/f64 (f64.ceil (get_local $B) |