]> granicus.if.org Git - clang/commitdiff
This patch is all it takes to pass all objc2's fast-enumeration
authorFariborz Jahanian <fjahanian@apple.com>
Tue, 10 Feb 2009 22:46:12 +0000 (22:46 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Tue, 10 Feb 2009 22:46:12 +0000 (22:46 +0000)
tests in the dejagnu test suite in the nonfragile abi mode.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64251 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGObjCMac.cpp

index 0e26379f62a867d568db4b0c3004938a793cfa8d..e55a6a31feb119c748e5bead6423df81c9bbee64 100644 (file)
@@ -720,7 +720,7 @@ public:
     return ObjCTypes.SetPropertyFn; 
   }
   virtual llvm::Function *EnumerationMutationFunction()
-    { return 0; }
+    { return ObjCTypes.EnumerationMutationFn; }
   
   virtual void EmitTryOrSynchronizedStmt(CodeGen::CodeGenFunction &CGF,
                                          const Stmt &S)