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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wasm-binary.h b/src/wasm-binary.h
index 0918151c5..b0f41e69c 100644
--- a/src/wasm-binary.h
+++ b/src/wasm-binary.h
@@ -972,6 +972,11 @@ enum ASTNodes {
Rethrow = 0x09,
BrOnExn = 0x0a,
+ // typed function references opcodes
+
+ CallRef = 0x14,
+ RetCallRef = 0x15,
+
// gc opcodes
RefEq = 0xd5,
@@ -1479,6 +1484,7 @@ public:
void visitThrow(Throw* curr);
void visitRethrow(Rethrow* curr);
void visitBrOnExn(BrOnExn* curr);
+ void visitCallRef(CallRef* curr);
void throwError(std::string text);