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.cc9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/binary-reader.cc b/src/binary-reader.cc
index ebc088dd..7f195356 100644
--- a/src/binary-reader.cc
+++ b/src/binary-reader.cc
@@ -1573,13 +1573,10 @@ Result BinaryReader::ReadFunctionBody(Offset end_offset) {
break;
}
- case Opcode::RefIsNull: {
- Type type;
- CHECK_RESULT(ReadRefType(&type, "ref.is_null type"));
- CALLBACK(OnRefIsNullExpr, type);
- CALLBACK(OnOpcodeType, type);
+ case Opcode::RefIsNull:
+ CALLBACK(OnRefIsNullExpr);
+ CALLBACK(OnOpcodeBare);
break;
- }
default:
return ReportUnexpectedOpcode(opcode);