diff options
author | Chris Lattner <sabre@nondot.org> | 2009-03-22 21:03:39 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-03-22 21:03:39 +0000 |
commit | d4808924450e86391475b7c6e6c119cd642ae971 (patch) | |
tree | 6fa1597da14c0600a825823161b452148fbf8cca /clang/lib/CodeGen/CGObjC.cpp | |
parent | d6a7b72944cefcc7c780f1a635706756755d98b7 (diff) | |
download | bcm5719-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.cpp | 5 |
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; |