Use createBasicBlock here too.

llvm-svn: 59095
This commit is contained in:
Daniel Dunbar 2008-11-12 00:02:07 +00:00
parent 851eec11a7
commit 8307290f35
1 changed files with 2 additions and 2 deletions

View File

@ -1034,8 +1034,8 @@ Value *ScalarExprEmitter::VisitBinLAnd(const BinaryOperator *E) {
}
}
llvm::BasicBlock *ContBlock = llvm::BasicBlock::Create("land_cont");
llvm::BasicBlock *RHSBlock = llvm::BasicBlock::Create("land_rhs");
llvm::BasicBlock *ContBlock = CGF.createBasicBlock("land_cont");
llvm::BasicBlock *RHSBlock = CGF.createBasicBlock("land_rhs");
llvm::BasicBlock *OrigBlock = Builder.GetInsertBlock();
Builder.CreateCondBr(LHSCond, RHSBlock, ContBlock);