From: Peter Collingbourne Date: Wed, 10 Aug 2011 01:10:08 +0000 (+0000) Subject: Preserve the name for this variant of IRBuilder::CreateCall X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=59c1ba96ba99cf07647073c672fd9f2e5f571bc8 Preserve the name for this variant of IRBuilder::CreateCall git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137192 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Support/IRBuilder.h b/include/llvm/Support/IRBuilder.h index 3ae81c4a8d0..133b1c3fd53 100644 --- a/include/llvm/Support/IRBuilder.h +++ b/include/llvm/Support/IRBuilder.h @@ -1145,7 +1145,7 @@ public: CallInst *CreateCall(Value *Callee, ArrayRef 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,