From: Clyne Sullivan Date: Tue, 25 Jun 2024 11:52:31 +0000 (-0400) Subject: remove unnecessary setinsertpoint X-Git-Url: https://code.bitgloo.com/?a=commitdiff_plain;h=b16e418091bad151ed064b56f6c4d195242044d7;p=clyne%2Fforspll.git remove unnecessary setinsertpoint --- diff --git a/ast.cpp b/ast.cpp index c7a9309..0e2d8c5 100644 --- a/ast.cpp +++ b/ast.cpp @@ -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); }