]> granicus.if.org Git - clang/commitdiff
Remove unused argument.
authorDaniel Dunbar <daniel@zuster.org>
Sun, 3 May 2009 08:56:52 +0000 (08:56 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Sun, 3 May 2009 08:56:52 +0000 (08:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70684 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGObjCMac.cpp

index a62b4c499b5430ed0117f37d3991adadbcec5274..a7fc87c24c59a1b4eb3638a00117da1b8274cd67 100644 (file)
@@ -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<llvm::Constant*> 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);