[cfe-commits] r63782 - /cfe/trunk/lib/CodeGen/CGObjC.cpp

Daniel Dunbar daniel at zuster.org
Wed Feb 4 14:00:33 PST 2009


Author: ddunbar
Date: Wed Feb  4 16:00:33 2009
New Revision: 63782

URL: http://llvm.org/viewvc/llvm-project?rev=63782&view=rev
Log:
Use correct signature for calling enumeration mutation function.

Modified:
    cfe/trunk/lib/CodeGen/CGObjC.cpp

Modified: cfe/trunk/lib/CodeGen/CGObjC.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGObjC.cpp?rev=63782&r1=63781&r2=63782&view=diff

==============================================================================
--- cfe/trunk/lib/CodeGen/CGObjC.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGObjC.cpp Wed Feb  4 16:00:33 2009
@@ -477,7 +477,7 @@
                                 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);





More information about the cfe-commits mailing list