aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGObjC.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-03-22 21:03:39 +0000
committerChris Lattner <sabre@nondot.org>2009-03-22 21:03:39 +0000
commit74391b48b4791cded373683a3baf67314f358d50 (patch)
tree97306981d77b22dded950a0e4659936e67a7193c /lib/CodeGen/CGObjC.cpp
parent3023ca870d545685881116f2c6e2bd5d1736e33c (diff)
pull "runtime globals" into the same framework as other functions/global variables.
No intended functionality change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67478 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGObjC.cpp')
-rw-r--r--lib/CodeGen/CGObjC.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/CodeGen/CGObjC.cpp b/lib/CodeGen/CGObjC.cpp
index acc07c740a..de63f51b33 100644
--- a/lib/CodeGen/CGObjC.cpp
+++ b/lib/CodeGen/CGObjC.cpp
@@ -422,9 +422,8 @@ void CodeGenFunction::EmitObjCPropertySet(const Expr *Exp,
assert (0 && "bad expression node in EmitObjCPropertySet");
}
-void CodeGenFunction::EmitObjCForCollectionStmt(const ObjCForCollectionStmt &S)
-{
- llvm::Function *EnumerationMutationFn =
+void CodeGenFunction::EmitObjCForCollectionStmt(const ObjCForCollectionStmt &S){
+ llvm::Constant *EnumerationMutationFn =
CGM.getObjCRuntime().EnumerationMutationFunction();
llvm::Value *DeclAddress;
QualType ElementTy;