summaryrefslogtreecommitdiff
path: root/src/type-checker.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/type-checker.h')
-rw-r--r--src/type-checker.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/type-checker.h b/src/type-checker.h
index f7238365..849c701d 100644
--- a/src/type-checker.h
+++ b/src/type-checker.h
@@ -61,6 +61,8 @@ class TypeChecker {
Result OnCall(const TypeVector* param_types, const TypeVector* result_types);
Result OnCallIndirect(const TypeVector* param_types,
const TypeVector* result_types);
+ Result OnCatch(const TypeVector* sig);
+ Result OnCatchBlock(const TypeVector* sig);
Result OnCompare(Opcode);
Result OnConst(Type);
Result OnConvert(Opcode);
@@ -74,12 +76,15 @@ class TypeChecker {
Result OnIf(const TypeVector* sig);
Result OnLoad(Opcode);
Result OnLoop(const TypeVector* sig);
+ Result OnRethrow(Index depth);
Result OnReturn();
Result OnSelect();
Result OnSetGlobal(Type);
Result OnSetLocal(Type);
Result OnStore(Opcode);
Result OnTeeLocal(Type);
+ Result OnThrow(const TypeVector* sig);
+ Result OnTryBlock(const TypeVector* sig);
Result OnUnary(Opcode);
Result OnUnreachable();
Result EndFunction();