summaryrefslogtreecommitdiff
path: root/src/wasm-binary.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-binary.h')
-rw-r--r--src/wasm-binary.h4
1 files changed, 4 insertions, 0 deletions
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<Index, std::vector<Name*>> globalRefs;
+ // at index i we have all refs to the tag i
+ std::map<Index, std::vector<Name*>> tagRefs;
+
// Throws a parsing error if we are not in a function context
void requireFunctionContext(const char* error);