summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm.h')
-rw-r--r--src/wasm.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/wasm.h b/src/wasm.h
index 18662ad8e..153cb4764 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -34,6 +34,7 @@
#include "literal.h"
#include "mixed_arena.h"
+#include "support/index.h"
#include "support/name.h"
#include "wasm-features.h"
#include "wasm-type.h"
@@ -1971,14 +1972,6 @@ public:
// Module name, if specified. Serves a documentary role only.
Name name;
- // Optional type name information, used in printing only. Note that Types are
- // globally interned, but type names are specific to a module.
- struct TypeNames {
- // The name of the type.
- Name name;
- // For a Struct, names of fields.
- std::unordered_map<Index, Name> fieldNames;
- };
std::unordered_map<HeapType, TypeNames> typeNames;
MixedArena allocator;