From 90350b6f815eecd9441119b1412695d33fb2b98f Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Wed, 4 Feb 2009 22:00:33 +0000 Subject: [PATCH] Use correct signature for calling enumeration mutation function. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63782 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CGObjC.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CodeGen/CGObjC.cpp b/lib/CodeGen/CGObjC.cpp index 628114c99e..0cb5c7ab4d 100644 --- a/lib/CodeGen/CGObjC.cpp +++ b/lib/CodeGen/CGObjC.cpp @@ -477,7 +477,7 @@ void CodeGenFunction::EmitObjCForCollectionStmt(const ObjCForCollectionStmt &S) getContext().getObjCIdType())); // FIXME: We shouldn't need to get the function info here, the // runtime already should have computed it to build the function. - EmitCall(CGM.getTypes().getFunctionInfo(getContext().VoidTy, Args), + EmitCall(CGM.getTypes().getFunctionInfo(getContext().VoidTy, Args2), EnumerationMutationFn, Args2); EmitBlock(WasNotMutated); -- 2.40.0