remove unnecessary setinsertpoint

main
Clyne 6 months ago
parent 95901f3a5f
commit b16e418091
Signed by: clyne
GPG Key ID: 3267C8EBF3F9AFC7

@ -163,7 +163,6 @@ ThunkAST::ThunkAST(LLVMState& llvmState, std::string n): BaseAST(n)
body = llvm::BasicBlock::Create(llvmState.ctx, "body", func);
env = func->getArg(0);
llvmState.builder.SetInsertPoint(entry);
llvmState.builder.SetInsertPoint(body);
}

Loading…
Cancel
Save