diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-05-03 08:56:52 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-05-03 08:56:52 +0000 |
commit | 5384b0990ea6995121fd4bad0855e96d41dcad18 (patch) | |
tree | e045c08d024b6dc619531c5d8370f228f66a531a /lib/CodeGen | |
parent | 1d7e539bbee1981faddf45284c492deab4ca2e01 (diff) |
Remove unused argument.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70684 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/CGObjCMac.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
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<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); |