Use correct signature for calling enumeration mutation function.

llvm-svn: 63782
This commit is contained in:
Daniel Dunbar 2009-02-04 22:00:33 +00:00
parent 916fdce16d
commit 46353ece18
1 changed files with 1 additions and 1 deletions

View 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);