diff options
Diffstat (limited to 'src/wasm-binary.h')
-rw-r--r-- | src/wasm-binary.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/wasm-binary.h b/src/wasm-binary.h index acde624f7..eb8e176ec 100644 --- a/src/wasm-binary.h +++ b/src/wasm-binary.h @@ -1094,7 +1094,8 @@ enum ASTNodes { // typed function references opcodes - CallRef = 0x14, + CallRefUnannotated = 0x14, + CallRef = 0x17, RetCallRef = 0x15, // gc opcodes @@ -1742,7 +1743,8 @@ public: void visitTryOrTryInBlock(Expression*& out); void visitThrow(Throw* curr); void visitRethrow(Rethrow* curr); - void visitCallRef(CallRef* curr); + void visitCallRef(CallRef* curr, + std::optional<HeapType> maybeType = std::nullopt); void visitRefAs(RefAs* curr, uint8_t code); [[noreturn]] void throwError(std::string text); |