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, 2 insertions, 2 deletions
diff --git a/src/binary-writer.cc b/src/binary-writer.cc
index 5638bd4e..a1760023 100644
--- a/src/binary-writer.cc
+++ b/src/binary-writer.cc
@@ -1012,8 +1012,8 @@ void BinaryWriter::WriteExpr(const Func* func, const Expr* expr) {
GetLabelVarDepth(&try_expr->delegate_target),
"delegate depth");
break;
- case TryKind::Invalid:
- // Should not occur.
+ case TryKind::Plain:
+ WriteOpcode(stream_, Opcode::End);
break;
}
break;