[cfe-commits] r135571 - /cfe/trunk/lib/CodeGen/CodeGenTypes.cpp
Chris Lattner
sabre at nondot.org
Tue Jul 19 23:23:59 PDT 2011
Author: lattner
Date: Wed Jul 20 01:23:59 2011
New Revision: 135571
URL: http://llvm.org/viewvc/llvm-project?rev=135571&view=rev
Log:
fix a case where we're using ConvertType for a memory object.
It doesn't matter in practice, but it is good to be tidy.
Modified:
cfe/trunk/lib/CodeGen/CodeGenTypes.cpp
Modified: cfe/trunk/lib/CodeGen/CodeGenTypes.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CodeGenTypes.cpp?rev=135571&r1=135570&r2=135571&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CodeGenTypes.cpp (original)
+++ cfe/trunk/lib/CodeGen/CodeGenTypes.cpp Wed Jul 20 01:23:59 2011
@@ -512,7 +512,7 @@
// pointer to the underlying interface type. We don't need to worry about
// recursive conversion.
llvm::Type *T =
- ConvertType(cast<ObjCObjectPointerType>(Ty)->getPointeeType());
+ ConvertTypeForMem(cast<ObjCObjectPointerType>(Ty)->getPointeeType());
ResultType = T->getPointerTo();
break;
}
More information about the cfe-commits
mailing list