From: Daniel Dunbar Date: Wed, 4 Feb 2009 22:00:33 +0000 (+0000) Subject: Use correct signature for calling enumeration mutation function. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=90350b6f815eecd9441119b1412695d33fb2b98f;p=clang 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 --- 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);