From de2120298d260c5ffe5165428359028d76d14b86 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Fri, 26 Aug 2022 09:51:12 -0700 Subject: Add support for Tag names in the Names section (#4970) --- src/wasm-binary.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/wasm-binary.h') diff --git a/src/wasm-binary.h b/src/wasm-binary.h index f6924aa14..a00a1df46 100644 --- a/src/wasm-binary.h +++ b/src/wasm-binary.h @@ -454,6 +454,7 @@ enum Subsection { NameData = 9, // see: https://github.com/WebAssembly/gc/issues/193 NameField = 10, + NameTag = 11, DylinkMemInfo = 1, DylinkNeeded = 2, @@ -1552,6 +1553,9 @@ public: // at index i we have all refs to the global i std::map> globalRefs; + // at index i we have all refs to the tag i + std::map> tagRefs; + // Throws a parsing error if we are not in a function context void requireFunctionContext(const char* error); -- cgit v1.2.3