forked from OSchip/llvm-project
remove the alloca insertion point inst, which is an internal helper.
llvm-svn: 44508
This commit is contained in:
parent
6d27513f6e
commit
c48023bd5b
|
@ -145,6 +145,10 @@ void CodeGenFunction::GenerateCode(const FunctionDecl *FD) {
|
|||
assert(BreakContinueStack.empty() &&
|
||||
"mismatched push/pop in break/continue stack!");
|
||||
|
||||
// Remove the AllocaInsertPt instruction, which is just a convenience for us.
|
||||
AllocaInsertPt->eraseFromParent();
|
||||
AllocaInsertPt = 0;
|
||||
|
||||
// Verify that the function is well formed.
|
||||
assert(!verifyFunction(*CurFn));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue