From 3afdfd70616b5ba569dc4e78f41063d35b127464 Mon Sep 17 00:00:00 2001 From: Fariborz Jahanian Date: Tue, 10 Feb 2009 22:46:12 +0000 Subject: [PATCH] This patch is all it takes to pass all objc2's fast-enumeration 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CodeGen/CGObjCMac.cpp b/lib/CodeGen/CGObjCMac.cpp index 0e26379f62..e55a6a31fe 100644 --- a/lib/CodeGen/CGObjCMac.cpp +++ b/lib/CodeGen/CGObjCMac.cpp @@ -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) -- 2.40.0