summaryrefslogtreecommitdiff
path: root/src/binary-reader.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/binary-reader.cc')
-rw-r--r--src/binary-reader.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/binary-reader.cc b/src/binary-reader.cc
index 820f85c1..a9563b00 100644
--- a/src/binary-reader.cc
+++ b/src/binary-reader.cc
@@ -1184,6 +1184,16 @@ Result BinaryReader::ReadFunctionBody(Offset end_offset) {
break;
}
+ case Opcode::BrOnExn: {
+ Index depth;
+ Index index;
+ CHECK_RESULT(ReadIndex(&depth, "br_on_exn depth"));
+ CHECK_RESULT(ReadIndex(&index, "event index"));
+ CALLBACK(OnBrOnExnExpr, depth, index);
+ CALLBACK(OnOpcodeIndexIndex, depth, index);
+ break;
+ }
+
case Opcode::I32Extend8S:
case Opcode::I32Extend16S:
case Opcode::I64Extend8S: