[cfe-commits] r63666 - /cfe/trunk/lib/CodeGen/CGObjCGNU.cpp
Fariborz Jahanian
fjahanian at apple.com
Tue Feb 3 13:52:35 PST 2009
Author: fjahanian
Date: Tue Feb 3 15:52:35 2009
New Revision: 63666
URL: http://llvm.org/viewvc/llvm-project?rev=63666&view=rev
Log:
GNUStep fast enumeration.
Patch by David Chisnall.
Modified:
cfe/trunk/lib/CodeGen/CGObjCGNU.cpp
Modified: cfe/trunk/lib/CodeGen/CGObjCGNU.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGObjCGNU.cpp?rev=63666&r1=63665&r2=63666&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGObjCGNU.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGObjCGNU.cpp Tue Feb 3 15:52:35 2009
@@ -994,7 +994,9 @@
}
llvm::Function *CGObjCGNU::EnumerationMutationFunction() {
- return 0;
+return
+ (llvm::Function*)TheModule.getOrInsertFunction(
+ "objc_enumerationMutation", llvm::Type::VoidTy, IdTy, NULL);
}
void CGObjCGNU::EmitTryOrSynchronizedStmt(CodeGen::CodeGenFunction &CGF,
More information about the cfe-commits
mailing list