diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-04-22 05:08:15 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-04-22 05:08:15 +0000 |
commit | 2a03192a02dbf4fdff438d1e658356bde871aba4 (patch) | |
tree | 737d38cc78c86e3d0b9cc9db6c057ac381bbd18c /lib/CodeGen/CGObjCGNU.cpp | |
parent | 71dfdb9bc91b5d81b124e6091c903e4efd87149d (diff) |
Make ObjCInterfaceDecl's const in some more places.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69775 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGObjCGNU.cpp')
-rw-r--r-- | lib/CodeGen/CGObjCGNU.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/CGObjCGNU.cpp b/lib/CodeGen/CGObjCGNU.cpp index 167e337386..a1bc9b7ad4 100644 --- a/lib/CodeGen/CGObjCGNU.cpp +++ b/lib/CodeGen/CGObjCGNU.cpp @@ -148,7 +148,7 @@ public: const ObjCIvarDecl *Ivar, unsigned CVRQualifiers); virtual llvm::Value *EmitIvarOffset(CodeGen::CodeGenFunction &CGF, - ObjCInterfaceDecl *Interface, + const ObjCInterfaceDecl *Interface, const ObjCIvarDecl *Ivar); }; } // end anonymous namespace @@ -1096,7 +1096,7 @@ LValue CGObjCGNU::EmitObjCValueForIvar(CodeGen::CodeGenFunction &CGF, } llvm::Value *CGObjCGNU::EmitIvarOffset(CodeGen::CodeGenFunction &CGF, - ObjCInterfaceDecl *Interface, + const ObjCInterfaceDecl *Interface, const ObjCIvarDecl *Ivar) { const llvm::Type *InterfaceLTy = CGM.getTypes().ConvertType( |