[cfe-commits] r110339 - /cfe/trunk/lib/CodeGen/CGObjCMac.cpp
Fariborz Jahanian
fjahanian at apple.com
Thu Aug 5 08:52:12 PDT 2010
Author: fjahanian
Date: Thu Aug 5 10:52:12 2010
New Revision: 110339
URL: http://llvm.org/viewvc/llvm-project?rev=110339&view=rev
Log:
Trying to unbreak buildbot.
Modified:
cfe/trunk/lib/CodeGen/CGObjCMac.cpp
Modified: cfe/trunk/lib/CodeGen/CGObjCMac.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGObjCMac.cpp?rev=110339&r1=110338&r2=110339&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGObjCMac.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGObjCMac.cpp Thu Aug 5 10:52:12 2010
@@ -1711,7 +1711,8 @@
const llvm::SmallVectorImpl<const BlockDeclRefExpr *> &DeclRefs) {
llvm::Constant *NullPtr =
llvm::Constant::getNullValue(llvm::Type::getInt8PtrTy(VMContext));
- if (DeclRefs.empty())
+ if ((CGM.getLangOptions().getGCMode() == LangOptions::NonGC) ||
+ DeclRefs.empty())
return NullPtr;
SkipIvars.clear();
IvarsInfo.clear();
More information about the cfe-commits
mailing list