summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r--clang/lib/CodeGen/CodeGenTypes.cpp4
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);
}
OpenPOWER on IntegriCloud