This commit is contained in:
gingerBill
2022-01-03 19:43:22 +00:00
parent defc1672c3
commit f818d0feb1

View File

@@ -2188,6 +2188,7 @@ void lb_build_stmt(lbProcedure *p, Ast *node) {
lb_emit_defer_stmts(p, lbDeferExit_Branch, block);
}
lb_emit_jump(p, block);
lb_start_block(p, lb_create_block(p, "unreachable"));
case_end;
}
}