summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm.h')
-rw-r--r--src/wasm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wasm.h b/src/wasm.h
index 75d6a174c..31dafb84b 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -1385,6 +1385,9 @@ public:
std::vector<Name> localNames;
std::map<Name, Index> localIndices;
+ // node annotations, printed alongside the node in the text format
+ std::unordered_map<Expression*, std::string> annotations;
+
Function() : result(none) {}
size_t getNumParams() {