summaryrefslogtreecommitdiff
path: root/src/binary-reader-logging.cc
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2017-05-19 10:15:41 -0700
committerGitHub <noreply@github.com>2017-05-19 10:15:41 -0700
commit43afc1b880ba857110b0fdee6d3c82a2d4a13244 (patch)
treed53ab6d34933bfcc128b940b49fddaacbe722e29 /src/binary-reader-logging.cc
parentc5b833e68b52dfc67b582b6f7fa60b55074d3aa8 (diff)
downloadwabt-43afc1b880ba857110b0fdee6d3c82a2d4a13244.tar.gz
wabt-43afc1b880ba857110b0fdee6d3c82a2d4a13244.tar.bz2
wabt-43afc1b880ba857110b0fdee6d3c82a2d4a13244.zip
[wasmdump] Display function names at call sites in disassembly (#441)
Also print Index types as decimal rather than hex since this seems to be the convention elsewhere.
Diffstat (limited to 'src/binary-reader-logging.cc')
-rw-r--r--src/binary-reader-logging.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/binary-reader-logging.cc b/src/binary-reader-logging.cc
index c843639e..335b24c1 100644
--- a/src/binary-reader-logging.cc
+++ b/src/binary-reader-logging.cc
@@ -573,6 +573,10 @@ Result BinaryReaderLogging::OnOpcodeBare() {
return reader->OnOpcodeBare();
}
+Result BinaryReaderLogging::OnOpcodeIndex(Index value) {
+ return reader->OnOpcodeIndex(value);
+}
+
Result BinaryReaderLogging::OnOpcodeUint32(uint32_t value) {
return reader->OnOpcodeUint32(value);
}