diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2011-08-10 01:10:08 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2011-08-10 01:10:08 +0000 |
commit | 59c1ba96ba99cf07647073c672fd9f2e5f571bc8 (patch) | |
tree | c866dd891536e1fe51f2c2627be7de9e416847d8 /include/llvm/Support | |
parent | 306afdf443a0e2d5d89c1a3ece00cfe18be1c4c4 (diff) | |
download | external_llvm-59c1ba96ba99cf07647073c672fd9f2e5f571bc8.zip external_llvm-59c1ba96ba99cf07647073c672fd9f2e5f571bc8.tar.gz external_llvm-59c1ba96ba99cf07647073c672fd9f2e5f571bc8.tar.bz2 |
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
Diffstat (limited to 'include/llvm/Support')
-rw-r--r-- | include/llvm/Support/IRBuilder.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/IRBuilder.h b/include/llvm/Support/IRBuilder.h index 3ae81c4..133b1c3 100644 --- a/include/llvm/Support/IRBuilder.h +++ b/include/llvm/Support/IRBuilder.h @@ -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, |