summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-02-04 22:00:33 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-02-04 22:00:33 +0000
commit46353ece1893148d92f29d55e1b577b272df501a (patch)
tree88352b50c8de6977fd8993c9072fa54a7b832f69 /clang/lib/CodeGen
parent916fdce16de000115576f09462df91a1ad65bc6f (diff)
downloadbcm5719-llvm-46353ece1893148d92f29d55e1b577b272df501a.tar.gz
bcm5719-llvm-46353ece1893148d92f29d55e1b577b272df501a.zip
Use correct signature for calling enumeration mutation function.
llvm-svn: 63782
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r--clang/lib/CodeGen/CGObjC.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGObjC.cpp b/clang/lib/CodeGen/CGObjC.cpp
index 628114c99e0..0cb5c7ab4d6 100644
--- a/clang/lib/CodeGen/CGObjC.cpp
+++ b/clang/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);
OpenPOWER on IntegriCloud