]> granicus.if.org Git - clang/commitdiff
Remove code that was intentionally generating bad code on the GNU runtime for no...
authorDavid Chisnall <csdavec@swan.ac.uk>
Thu, 17 Mar 2011 14:19:08 +0000 (14:19 +0000)
committerDavid Chisnall <csdavec@swan.ac.uk>
Thu, 17 Mar 2011 14:19:08 +0000 (14:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127806 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CodeGenModule.cpp

index 24b3c3214c46e8953d7ba524d8d00227d9ac5f9f..61814702bdd650712fe52abcba58e058949f2b3d 100644 (file)
@@ -1934,7 +1934,7 @@ void CodeGenModule::EmitObjCPropertyImplementations(const
 /// EmitObjCIvarInitializations - Emit information for ivar initialization
 /// for an implementation.
 void CodeGenModule::EmitObjCIvarInitializations(ObjCImplementationDecl *D) {
-  if (!Features.NeXTRuntime || D->getNumIvarInitializers() == 0)
+  if (D->getNumIvarInitializers() == 0)
     return;
   DeclContext* DC = const_cast<DeclContext*>(dyn_cast<DeclContext>(D));
   assert(DC && "EmitObjCIvarInitializations - null DeclContext");