diff options
Diffstat (limited to 'src/binary-reader-logging.cc')
-rw-r--r-- | src/binary-reader-logging.cc | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/binary-reader-logging.cc b/src/binary-reader-logging.cc index ea722c29..fb4f50ad 100644 --- a/src/binary-reader-logging.cc +++ b/src/binary-reader-logging.cc @@ -207,18 +207,18 @@ Result BinaryReaderLogging::OnImportGlobal(Index import_index, global_index, type, mutable_); } -Result BinaryReaderLogging::OnImportException(Index import_index, - string_view module_name, - string_view field_name, - Index except_index, - TypeVector& sig) { - LOGF("OnImportException(import_index: %" PRIindex ", except_index: %" PRIindex +Result BinaryReaderLogging::OnImportEvent(Index import_index, + string_view module_name, + string_view field_name, + Index event_index, + TypeVector& sig) { + LOGF("OnImportEvent(import_index: %" PRIindex ", event_index: %" PRIindex ", sig: ", - import_index, except_index); + import_index, event_index); LogTypes(sig); LOGF_NOINDENT(")\n"); - return reader_->OnImportException(import_index, module_name, field_name, - except_index, sig); + return reader_->OnImportEvent(import_index, module_name, field_name, + event_index, sig); } Result BinaryReaderLogging::OnTable(Index index, @@ -299,11 +299,11 @@ Result BinaryReaderLogging::OnBrTableExpr(Index num_targets, default_target_depth); } -Result BinaryReaderLogging::OnExceptionType(Index index, TypeVector& sig) { - LOGF("OnType(index: %" PRIindex ", values: ", index); +Result BinaryReaderLogging::OnEventType(Index index, TypeVector& sig) { + LOGF("OnEventType(index: %" PRIindex ", values: ", index); LogTypes(sig); LOGF_NOINDENT(")\n"); - return reader_->OnExceptionType(index, sig); + return reader_->OnEventType(index, sig); } Result BinaryReaderLogging::OnF32ConstExpr(uint32_t value_bits) { @@ -703,11 +703,11 @@ DEFINE0(OnNopExpr) DEFINE0(OnRethrowExpr); DEFINE_INDEX_DESC(OnReturnCallExpr, "func_index") - DEFINE_INDEX_DESC(OnReturnCallIndirectExpr, "sig_index") +DEFINE_INDEX_DESC(OnReturnCallIndirectExpr, "sig_index") DEFINE0(OnReturnExpr) DEFINE0(OnSelectExpr) DEFINE_LOAD_STORE_OPCODE(OnStoreExpr); -DEFINE_INDEX_DESC(OnThrowExpr, "except_index") +DEFINE_INDEX_DESC(OnThrowExpr, "event_index") DEFINE0(OnUnreachableExpr) DEFINE_OPCODE(OnUnaryExpr) DEFINE_OPCODE(OnTernaryExpr) @@ -755,10 +755,10 @@ DEFINE_INDEX(OnSegmentInfoCount) DEFINE_INDEX(OnInitFunctionCount) DEFINE_END(EndLinkingSection) -DEFINE_BEGIN(BeginExceptionSection); -DEFINE_INDEX(OnExceptionCount); +DEFINE_BEGIN(BeginEventSection); +DEFINE_INDEX(OnEventCount); -DEFINE_END(EndExceptionSection); +DEFINE_END(EndEventSection); // We don't need to log these (the individual opcodes are logged instead), but // we still need to forward the calls. |