[cfe-commits] r69797 - in /cfe/trunk/lib/CodeGen: CGObjCMac.cpp CodeGenModule.cpp CodeGenTypes.cpp CodeGenTypes.h

Chris Lattner clattner at apple.com
Wed Apr 22 14:31:26 PDT 2009


On Apr 22, 2009, at 3:28 AM, Daniel Dunbar wrote:

>
> +  /// The opaque type map for Objective-C interfaces. All direct
> +  /// manipulation is done by the runtime interfaces, which are
> +  /// responsible for coercing to the appropriate type; these opaque
> +  /// types are never refined.
> +  llvm::DenseMap<const ObjCInterfaceType*, const llvm::Type *>  
> InterfaceTypes;
> +

This is cool daniel, but why use an opaque type pointer here?  Why not  
just compile all interface pointer types to i8* or {}* or something?

-Chris



More information about the cfe-commits mailing list