diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2020-04-09 11:41:40 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-09 11:41:40 -0700 |
commit | 9c75b8f8ef58347f2fab44463f9a65eb37212742 (patch) | |
tree | 8660dbae4ade8d07c7dc62bc76da0da13e35dd73 /test/min.fromasm.imprecise.no-opts | |
parent | b3d79f406ab80d5f36995e03385df3903e52f46e (diff) | |
download | binaryen-9c75b8f8ef58347f2fab44463f9a65eb37212742.tar.gz binaryen-9c75b8f8ef58347f2fab44463f9a65eb37212742.tar.bz2 binaryen-9c75b8f8ef58347f2fab44463f9a65eb37212742.zip |
Remove function index printing (#2742)
`BinaryIndexes` was only used in two places (Print.cpp and
wasm-binary.h), so it didn't seem to be a great fit for
module-utils.h. This change moves it to wasm-binary.h and removes its
usage in Print.cpp. This means that function indexes are no longer
printed, but those were of limited utility and were the source of
annoying noise when updating tests, anyway.
Diffstat (limited to 'test/min.fromasm.imprecise.no-opts')
-rw-r--r-- | test/min.fromasm.imprecise.no-opts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/min.fromasm.imprecise.no-opts b/test/min.fromasm.imprecise.no-opts index 040bff89a..4ca6454c9 100644 --- a/test/min.fromasm.imprecise.no-opts +++ b/test/min.fromasm.imprecise.no-opts @@ -15,7 +15,7 @@ (export "neg" (func $neg)) (export "bitcasts" (func $bitcasts)) (export "ctzzzz" (func $ctzzzz)) - (func $floats (; 0 ;) (param $f f32) (result f32) + (func $floats (param $f f32) (result f32) (local $t f32) (return (f32.add @@ -24,7 +24,7 @@ ) ) ) - (func $neg (; 1 ;) (param $k i32) (param $p i32) (result f32) + (func $neg (param $k i32) (param $p i32) (result f32) (local $n f32) (local.set $n (f32.neg @@ -43,7 +43,7 @@ (local.get $n) ) ) - (func $bitcasts (; 2 ;) (param $i i32) (param $f f32) + (func $bitcasts (param $i i32) (param $f f32) (drop (f32.reinterpret_i32 (local.get $i) @@ -62,14 +62,14 @@ ) ) ) - (func $ctzzzz (; 3 ;) (result i32) + (func $ctzzzz (result i32) (return (i32.ctz (i32.const 4660) ) ) ) - (func $ub (; 4 ;) (result i32) + (func $ub (result i32) (drop (call $ub) ) |