diff options
author | Chris Lattner <sabre@nondot.org> | 2008-06-21 21:37:25 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-06-21 21:37:25 +0000 |
commit | c4f38851e6f9c8be727c7c38d289694fba292e8d (patch) | |
tree | 100e2c132de1da2a8af7367d76b48b8e1b814ffc /clang/lib/CodeGen | |
parent | c7ef3cb43fcedef99a661e0893b34b58e59e7c9e (diff) | |
download | bcm5719-llvm-c4f38851e6f9c8be727c7c38d289694fba292e8d.tar.gz bcm5719-llvm-c4f38851e6f9c8be727c7c38d289694fba292e8d.zip |
Don't add isa with @defs only to work around it in the code generator, patch
by David Chisnall.
llvm-svn: 52597
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r-- | clang/lib/CodeGen/CodeGenTypes.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
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<ObjCInterfaceType>(Ty); std::vector<const llvm::Type*> 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); } |