[llvm-branch-commits] [llvm-branch] r99619 - /llvm/branches/ggreif/const-CallSite/lib/VMCore/Instructions.cpp

Gabor Greif ggreif at gmail.com
Fri Mar 26 08:26:25 PDT 2010


Author: ggreif
Date: Fri Mar 26 10:26:25 2010
New Revision: 99619

URL: http://llvm.org/viewvc/llvm-project?rev=99619&view=rev
Log:
clean up

Modified:
    llvm/branches/ggreif/const-CallSite/lib/VMCore/Instructions.cpp

Modified: llvm/branches/ggreif/const-CallSite/lib/VMCore/Instructions.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/ggreif/const-CallSite/lib/VMCore/Instructions.cpp?rev=99619&r1=99618&r2=99619&view=diff
==============================================================================
--- llvm/branches/ggreif/const-CallSite/lib/VMCore/Instructions.cpp (original)
+++ llvm/branches/ggreif/const-CallSite/lib/VMCore/Instructions.cpp Fri Mar 26 10:26:25 2010
@@ -43,11 +43,6 @@
   else                                   \
     cast<InvokeInst>(II)->METHOD
 
-/*CallSite::CallSite(Instruction *C) {
-  assert((isa<CallInst>(C) || isa<InvokeInst>(C)) && "Not a call!");
-  I.setPointer(C);
-  I.setInt(isa<CallInst>(C));
-	}*/
 CallingConv::ID CallSite::getCallingConv() const {
   CALLSITE_DELEGATE_GETTER(getCallingConv());
 }





More information about the llvm-branch-commits mailing list