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/passes/remove-unused-brs_generate-stack-ir_print-stack-ir.txt | |
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/passes/remove-unused-brs_generate-stack-ir_print-stack-ir.txt')
-rw-r--r-- | test/passes/remove-unused-brs_generate-stack-ir_print-stack-ir.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/passes/remove-unused-brs_generate-stack-ir_print-stack-ir.txt b/test/passes/remove-unused-brs_generate-stack-ir_print-stack-ir.txt index 485a2c57c..619a712f3 100644 --- a/test/passes/remove-unused-brs_generate-stack-ir_print-stack-ir.txt +++ b/test/passes/remove-unused-brs_generate-stack-ir_print-stack-ir.txt @@ -1,6 +1,6 @@ (module (type $i64_=>_none (func (param i64))) - (func $0 (; 0 ;) (param $var$0 i64) + (func $0 (param $var$0 i64) block $label$1 block $label$2 loop $label$3 @@ -24,7 +24,7 @@ ) (module (type $i64_=>_none (func (param i64))) - (func $0 (; 0 ;) (; has Stack IR ;) (param $var$0 i64) + (func $0 (; has Stack IR ;) (param $var$0 i64) (block $label$1 (br_if $label$1 (block $label$2 |