diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2009-09-11 17:39:05 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2009-09-11 17:39:05 +0000 |
commit | 039e6a1b085b025c054cb66a5665ad3a77d96abd (patch) | |
tree | ef933ced7c7170947e4851ae6454ad87aff4baef | |
parent | ea19b2fc58ecd06da22a700e1d5e6ffa5ce7515c (diff) |
Fixes a regression in objc GC layout bitmap involving
block pointer ivars.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81535 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/CGObjCMac.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGObjCMac.cpp b/lib/CodeGen/CGObjCMac.cpp index 9ed1c169b5..5f3009074a 100644 --- a/lib/CodeGen/CGObjCMac.cpp +++ b/lib/CodeGen/CGObjCMac.cpp @@ -2997,7 +2997,7 @@ static QualType::GCAttrTypes GetGCAttrTypeForType(ASTContext &Ctx, if (FQT.isObjCGCWeak()) return QualType::Weak; - if (FQT->isObjCObjectPointerType()) + if (FQT->isObjCObjectPointerType() || FQT->isBlockPointerType()) return QualType::Strong; if (const PointerType *PT = FQT->getAs<PointerType>()) |