Author: lattner
Date: Mon Aug  6 17:03:19 2007
New Revision: 40880

URL: http://llvm.org/viewvc/llvm-project?rev=40880&view=rev
Log:
remove #if 0 code.

Modified:
    llvm/trunk/include/llvm/Support/LLVMBuilder.h

Modified: llvm/trunk/include/llvm/Support/LLVMBuilder.h
URL: 
http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/LLVMBuilder.h?rev=40880&r1=40879&r2=40880&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Support/LLVMBuilder.h (original)
+++ llvm/trunk/include/llvm/Support/LLVMBuilder.h Mon Aug  6 17:03:19 2007
@@ -389,25 +389,11 @@
   }
 
   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));


_______________________________________________
llvm-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to