diff options
author | Heejin Ahn <aheejin@gmail.com> | 2021-01-22 18:07:46 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-22 18:07:46 +0900 |
commit | 6d62e3c4be466888239a89c2e98713f60074aaea (patch) | |
tree | f2b55ef6eed4be74c2faee998f15ab46231083a9 /src/wasm-binary.h | |
parent | 69ff866fc7e54f25d8d8598581aa3553cb87603b (diff) | |
download | binaryen-6d62e3c4be466888239a89c2e98713f60074aaea.tar.gz binaryen-6d62e3c4be466888239a89c2e98713f60074aaea.tar.bz2 binaryen-6d62e3c4be466888239a89c2e98713f60074aaea.zip |
Remove exnref and br_on_exn (#3505)
This removes `exnref` type and `br_on_exn` instruction.
Diffstat (limited to 'src/wasm-binary.h')
-rw-r--r-- | src/wasm-binary.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/wasm-binary.h b/src/wasm-binary.h index 06a294c6d..8f4946786 100644 --- a/src/wasm-binary.h +++ b/src/wasm-binary.h @@ -359,8 +359,6 @@ enum EncodedType { // run-time type info type, without depth index n rtt = -0x18, // 0x68 dataref = -0x19, // 0x67 - // exception reference type TODO remove; the code for now is incorrect - exnref = -0x1a, // 0x66 // func_type form Func = -0x20, // 0x60 Struct = -0x21, // 0x5f @@ -375,7 +373,6 @@ enum EncodedHeapType { any = -0x12, // 0x6e eq = -0x13, // 0x6d i31 = -0x16, // 0x6a - exn = -0x18, // 0x68 data = -0x19, // 0x67 }; @@ -1007,7 +1004,6 @@ enum ASTNodes { CatchAll = 0x05, Throw = 0x08, Rethrow = 0x09, - BrOnExn = 0x0a, // typed function references opcodes @@ -1472,8 +1468,6 @@ public: void readNextDebugLocation(); void readSourceMapHeader(); - void handleBrOnExnNotTaken(Expression* curr); - // AST reading int depth = 0; // only for debugging @@ -1554,7 +1548,6 @@ public: void visitTryOrTryInBlock(Expression*& out); void visitThrow(Throw* curr); void visitRethrow(Rethrow* curr); - void visitBrOnExn(BrOnExn* curr); void visitCallRef(CallRef* curr); // Let is lowered into a block. void visitLet(Block* curr); |