Merge pull request #853 from ttvd/master

Fixing a typo in llvm backend.
This commit is contained in:
gingerBill
2021-02-25 19:13:49 +00:00
committed by GitHub

View File

@@ -6965,9 +6965,6 @@ void lb_build_defer_stmt(lbProcedure *p, lbDefer d) {
lb_emit_jump(p, b);
}
if (last_instr == nullptr || !LLVMIsATerminatorInst(last_instr)) {
lb_emit_jump(p, b);
}
lb_start_block(p, b);
if (d.kind == lbDefer_Node) {
lb_build_stmt(p, d.stmt);