diff options
Diffstat (limited to 'src/binary-reader-logging.cc')
-rw-r--r-- | src/binary-reader-logging.cc | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/binary-reader-logging.cc b/src/binary-reader-logging.cc index 5ee062ed..81ddfbe9 100644 --- a/src/binary-reader-logging.cc +++ b/src/binary-reader-logging.cc @@ -368,12 +368,17 @@ Result BinaryReaderLogging::OnSimdShuffleOpExpr(Opcode opcode, v128 value) { Result BinaryReaderLogging::BeginElemSegment(Index index, Index table_index, - uint8_t flags, - Type elem_type) { + uint8_t flags) { LOGF("BeginElemSegment(index: %" PRIindex ", table_index: %" PRIindex - ", flags: %d, elem_type: %s)\n", - index, table_index, flags, GetTypeName(elem_type)); - return reader_->BeginElemSegment(index, table_index, flags, elem_type); + ", flags: %d)\n", + index, table_index, flags); + return reader_->BeginElemSegment(index, table_index, flags); +} + +Result BinaryReaderLogging::OnElemSegmentElemType(Index index, Type elem_type) { + LOGF("OnElemSegmentElemType(index: %" PRIindex ", type: %s)\n", index, + GetTypeName(elem_type)); + return reader_->OnElemSegmentElemType(index, elem_type); } Result BinaryReaderLogging::OnDataSegmentData(Index index, |