From c4f38851e6f9c8be727c7c38d289694fba292e8d Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 21 Jun 2008 21:37:25 +0000 Subject: Don't add isa with @defs only to work around it in the code generator, patch by David Chisnall. llvm-svn: 52597 --- clang/lib/CodeGen/CodeGenTypes.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'clang/lib/CodeGen') diff --git a/clang/lib/CodeGen/CodeGenTypes.cpp b/clang/lib/CodeGen/CodeGenTypes.cpp index 7dfa2f850c6..9074e8179c0 100644 --- a/clang/lib/CodeGen/CodeGenTypes.cpp +++ b/clang/lib/CodeGen/CodeGenTypes.cpp @@ -309,10 +309,6 @@ const llvm::Type *CodeGenTypes::ConvertNewType(QualType T) { // late-bound ivars. ObjCInterfaceType OIT = cast(Ty); std::vector IvarTypes; - // Pointer to the class. This is just a placeholder. Operations that - // actually use the isa pointer should cast it to the Class type provided - // by the runtime. - IvarTypes.push_back(llvm::PointerType::getUnqual(llvm::Type::Int8Ty)); CollectObjCIvarTypes(OIT.getDecl(), IvarTypes); return llvm::StructType::get(IvarTypes); } -- cgit v1.2.3