diff options
author | Anders Carlsson <andersca@mac.com> | 2010-05-21 22:17:48 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2010-05-21 22:17:48 +0000 |
commit | 892fa6c5e152dd22e4ba460d5c8cd5c79d657e87 (patch) | |
tree | 9b3716a54eafbe4e9e0fc9c687b1dfb7aeed8462 /lib/CodeGen/CGObjC.cpp | |
parent | d775c66b3a1ea17e770cf8fbf4ae37c667c1e043 (diff) |
Unbreak self-host.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104390 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGObjC.cpp')
-rw-r--r-- | lib/CodeGen/CGObjC.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGObjC.cpp b/lib/CodeGen/CGObjC.cpp index d44c56fcf6..674f50234e 100644 --- a/lib/CodeGen/CGObjC.cpp +++ b/lib/CodeGen/CGObjC.cpp @@ -632,7 +632,7 @@ void CodeGenFunction::EmitObjCForCollectionStmt(const ObjCForCollectionStmt &S){ // Fast enumeration state. QualType StateTy = getContext().getObjCFastEnumerationStateType(); llvm::Value *StatePtr = CreateMemTemp(StateTy, "state.ptr"); - EmitNullInitialization(StatePtr, StateTy); + EmitMemSetToZero(StatePtr, StateTy); // Number of elements in the items array. static const unsigned NumItems = 16; |