From 59c1ba96ba99cf07647073c672fd9f2e5f571bc8 Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Wed, 10 Aug 2011 01:10:08 +0000 Subject: [PATCH] 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 --- include/llvm/Support/IRBuilder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,