From: Daniel Dunbar Date: Sun, 3 May 2009 08:56:52 +0000 (+0000) Subject: Remove unused argument. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5384b0990ea6995121fd4bad0855e96d41dcad18;p=clang Remove unused argument. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70684 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGObjCMac.cpp b/lib/CodeGen/CGObjCMac.cpp index a62b4c499b..a7fc87c24c 100644 --- a/lib/CodeGen/CGObjCMac.cpp +++ b/lib/CodeGen/CGObjCMac.cpp @@ -946,7 +946,6 @@ private: /// given implementation. The return value has type ClassPtrTy. llvm::Constant *EmitMetaClass(const ObjCImplementationDecl *ID, llvm::Constant *Protocols, - const llvm::Type *InterfaceTy, const ConstantVector &Methods); llvm::Constant *GetMethodConstant(const ObjCMethodDecl *MD); @@ -1897,7 +1896,7 @@ void CGObjCMac::GenerateClass(const ObjCImplementationDecl *ID) { } std::vector Values(12); - Values[ 0] = EmitMetaClass(ID, Protocols, InterfaceTy, ClassMethods); + Values[ 0] = EmitMetaClass(ID, Protocols, ClassMethods); if (ObjCInterfaceDecl *Super = Interface->getSuperClass()) { // Record a reference to the super class. LazySymbols.insert(Super->getIdentifier()); @@ -1935,7 +1934,6 @@ void CGObjCMac::GenerateClass(const ObjCImplementationDecl *ID) { llvm::Constant *CGObjCMac::EmitMetaClass(const ObjCImplementationDecl *ID, llvm::Constant *Protocols, - const llvm::Type *InterfaceTy, const ConstantVector &Methods) { unsigned Flags = eClassFlags_Meta; unsigned Size = CGM.getTargetData().getTypePaddedSize(ObjCTypes.ClassTy);