summaryrefslogtreecommitdiffstats
path: root/clang/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
commitd4808924450e86391475b7c6e6c119cd642ae971 (patch)
tree6fa1597da14c0600a825823161b452148fbf8cca /clang/lib/CodeGen/CGObjC.cpp
parentd6a7b72944cefcc7c780f1a635706756755d98b7 (diff)
downloadbcm5719-llvm-d4808924450e86391475b7c6e6c119cd642ae971.tar.gz
bcm5719-llvm-d4808924450e86391475b7c6e6c119cd642ae971.zip
pull "runtime globals" into the same framework as other functions/global variables.
No intended functionality change. llvm-svn: 67478
Diffstat (limited to 'clang/lib/CodeGen/CGObjC.cpp')
-rw-r--r--clang/lib/CodeGen/CGObjC.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CGObjC.cpp b/clang/lib/CodeGen/CGObjC.cpp
index acc07c740a9..de63f51b330 100644
--- a/clang/lib/CodeGen/CGObjC.cpp
+++ b/clang/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;
OpenPOWER on IntegriCloud