Explorar o código

Merge pull request #853 from ttvd/master

Fixing a typo in llvm backend.
gingerBill %!s(int64=4) %!d(string=hai) anos
pai
achega
172fc9a46c
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  1. 0 3
      src/llvm_backend.cpp

+ 0 - 3
src/llvm_backend.cpp

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