summaryrefslogtreecommitdiff
path: root/src/binary-writer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/binary-writer.cc')
-rw-r--r--src/binary-writer.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/binary-writer.cc b/src/binary-writer.cc
index fd2b0c24..261190fd 100644
--- a/src/binary-writer.cc
+++ b/src/binary-writer.cc
@@ -684,11 +684,9 @@ void BinaryWriter::WriteExpr(const Func* func, const Expr* expr) {
WriteType(stream_, cast<RefNullExpr>(expr)->type, "ref.null type");
break;
}
- case ExprType::RefIsNull: {
+ case ExprType::RefIsNull:
WriteOpcode(stream_, Opcode::RefIsNull);
- WriteType(stream_, cast<RefIsNullExpr>(expr)->type, "ref.is_null type");
break;
- }
case ExprType::Nop:
WriteOpcode(stream_, Opcode::Nop);
break;