summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm.h')
-rw-r--r--src/wasm.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/wasm.h b/src/wasm.h
index 697931082..fbec9247a 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -625,6 +625,7 @@ public:
RefFuncId,
RefEqId,
TableGetId,
+ TableSetId,
TryId,
ThrowId,
RethrowId,
@@ -1276,6 +1277,18 @@ public:
void finalize();
};
+class TableSet : public SpecificExpression<Expression::TableSetId> {
+public:
+ TableSet(MixedArena& allocator) {}
+
+ Name table;
+
+ Expression* index;
+ Expression* value;
+
+ void finalize();
+};
+
class Try : public SpecificExpression<Expression::TryId> {
public:
Try(MixedArena& allocator) : catchTags(allocator), catchBodies(allocator) {}