]> granicus.if.org Git - clang/commitdiff
Use correct signature for calling enumeration mutation function.
authorDaniel Dunbar <daniel@zuster.org>
Wed, 4 Feb 2009 22:00:33 +0000 (22:00 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 4 Feb 2009 22:00:33 +0000 (22:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63782 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGObjC.cpp

index 628114c99e0799d6ca5e72f31a9407f09277ad7b..0cb5c7ab4d6203bf652e8532c187317b46190032 100644 (file)
@@ -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);