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 | 74391b48b4791cded373683a3baf67314f358d50 (patch) | |
tree | 97306981d77b22dded950a0e4659936e67a7193c /lib/CodeGen/CGObjC.cpp | |
parent | 3023ca870d545685881116f2c6e2bd5d1736e33c (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.cpp | 5 |
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; |