summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-08-06 22:03:19 +0000
committerChris Lattner <sabre@nondot.org>2007-08-06 22:03:19 +0000
commit6f427580e0ff3c404341adcffc4a8c0d5b63a892 (patch)
treecd0bb6d909d8089e084cf8cac0cb26d39948e4d9 /include
parent731a5f1f94f96704ee6e0fb602d6ac7765fe5aef (diff)
downloadllvm-6f427580e0ff3c404341adcffc4a8c0d5b63a892.tar.gz
llvm-6f427580e0ff3c404341adcffc4a8c0d5b63a892.tar.bz2
llvm-6f427580e0ff3c404341adcffc4a8c0d5b63a892.tar.xz
remove #if 0 code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40880 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Support/LLVMBuilder.h18
1 files changed, 2 insertions, 16 deletions
diff --git a/include/llvm/Support/LLVMBuilder.h b/include/llvm/Support/LLVMBuilder.h
index 03bc3b8f3a..0323f2955b 100644
--- a/include/llvm/Support/LLVMBuilder.h
+++ b/include/llvm/Support/LLVMBuilder.h
@@ -389,25 +389,11 @@ public:
}
template<typename InputIterator>
- CallInst *CreateCall(Value *Callee, InputIterator ArgBegin, InputIterator ArgEnd,
- const char *Name = "") {
+ CallInst *CreateCall(Value *Callee, InputIterator ArgBegin,
+ InputIterator ArgEnd, const char *Name = "") {
return(Insert(new CallInst(Callee, ArgBegin, ArgEnd, Name)));
}
-#if 0
- CallInst *CreateCall(Value *Callee, Value *Arg0, Value *Arg1,
- const char *Name = "") {
- Value *Args[] = { Arg0, Arg1 };
- return Insert(new CallInst(Callee, Args, Args+2, Name));
- }
-
- // Leave this here for llvm-gcc
- CallInst *CreateCall(Value *Callee, Value* const *Args, unsigned NumArgs,
- const char *Name = "") {
- return Insert(new CallInst(Callee, Args, Args+NumArgs, Name));
- }
-#endif
-
SelectInst *CreateSelect(Value *C, Value *True, Value *False,
const char *Name = "") {
return Insert(new SelectInst(C, True, False, Name));