Browse Source

Merge branch 'master' of https://github.com/odin-lang/Odin

gingerBill 4 years ago
parent
commit
ac155d9036
1 changed files with 0 additions and 3 deletions
  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);
 	}
 
-	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);