summaryrefslogtreecommitdiff
path: root/src/binary-reader-logging.h
diff options
context:
space:
mode:
authorBen Smith <binjimin@gmail.com>2018-03-02 17:48:10 -0800
committerGitHub <noreply@github.com>2018-03-02 17:48:10 -0800
commitc0e3c8ae30236582060dfa830bf405b209d9e149 (patch)
treeb0723ece60bf89f31c2a19701465e9af19e9f6f3 /src/binary-reader-logging.h
parent2c591c592b5e1480e4d69093dd051348c1ec5f0e (diff)
downloadwabt-c0e3c8ae30236582060dfa830bf405b209d9e149.tar.gz
wabt-c0e3c8ae30236582060dfa830bf405b209d9e149.tar.bz2
wabt-c0e3c8ae30236582060dfa830bf405b209d9e149.zip
WIP on support for level1 exception spec (#773)
Implemented: * Parsing `try`, `if_except`, `throw`, `rethrow` * Validation * Binary and text output Still missing: * `except_ref` for locals * Interpreter implementation
Diffstat (limited to 'src/binary-reader-logging.h')
-rw-r--r--src/binary-reader-logging.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/binary-reader-logging.h b/src/binary-reader-logging.h
index 0b6d3de4..d95e1a7a 100644
--- a/src/binary-reader-logging.h
+++ b/src/binary-reader-logging.h
@@ -154,8 +154,7 @@ class BinaryReaderLogging : public BinaryReaderDelegate {
Index* target_depths,
Index default_target_depth) override;
Result OnCallExpr(Index func_index) override;
- Result OnCatchExpr(Index except_index) override;
- Result OnCatchAllExpr() override;
+ Result OnCatchExpr() override;
Result OnCallIndirectExpr(Index sig_index) override;
Result OnCompareExpr(Opcode opcode) override;
Result OnConvertExpr(Opcode opcode) override;
@@ -173,12 +172,15 @@ class BinaryReaderLogging : public BinaryReaderDelegate {
Result OnI32ConstExpr(uint32_t value) override;
Result OnI64ConstExpr(uint64_t value) override;
Result OnIfExpr(Index num_types, Type* sig_types) override;
+ Result OnIfExceptExpr(Index num_types,
+ Type* sig_types,
+ Index except_index) override;
Result OnLoadExpr(Opcode opcode,
uint32_t alignment_log2,
Address offset) override;
Result OnLoopExpr(Index num_types, Type* sig_types) override;
Result OnNopExpr() override;
- Result OnRethrowExpr(Index depth) override;
+ Result OnRethrowExpr() override;
Result OnReturnExpr() override;
Result OnSelectExpr() override;
Result OnSetGlobalExpr(Index global_index) override;