Preserve the name for this variant of IRBuilder::CreateCall

llvm-svn: 137192
This commit is contained in:
Peter Collingbourne 2011-08-10 01:10:08 +00:00
parent 4561ba5235
commit e8917e6d73
1 changed files with 1 additions and 1 deletions

View File

@ -1145,7 +1145,7 @@ public:
CallInst *CreateCall(Value *Callee, ArrayRef<Value *> Args,
const Twine &Name = "") {
return Insert(CallInst::Create(Callee, Args, Name));
return Insert(CallInst::Create(Callee, Args), Name);
}
Value *CreateSelect(Value *C, Value *True, Value *False,