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/bulk-memory.wast.fromBinary | |
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/bulk-memory.wast.fromBinary')
-rw-r--r-- | test/bulk-memory.wast.fromBinary | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/bulk-memory.wast.fromBinary b/test/bulk-memory.wast.fromBinary index f1c3bc0ef..9120c43e6 100644 --- a/test/bulk-memory.wast.fromBinary +++ b/test/bulk-memory.wast.fromBinary @@ -2,24 +2,24 @@ (type $none_=>_none (func)) (memory $0 1024 1024) (data (i32.const 0) "hello, world") - (func $memory.init (; 0 ;) + (func $memory.init (memory.init 0 (i32.const 512) (i32.const 0) (i32.const 12) ) ) - (func $data.drop (; 1 ;) + (func $data.drop (data.drop 0) ) - (func $memory.copy (; 2 ;) + (func $memory.copy (memory.copy (i32.const 512) (i32.const 0) (i32.const 12) ) ) - (func $memory.fill (; 3 ;) + (func $memory.fill (memory.fill (i32.const 0) (i32.const 42) |