commit | 3899a7fb9c7eeed19cc38d082921dd8b3d0d6624 | [log] [tgz] |
---|---|---|
author | Mike Stump <mrs@apple.com> | Fri Jun 05 23:26:36 2009 +0000 |
committer | Mike Stump <mrs@apple.com> | Fri Jun 05 23:26:36 2009 +0000 |
tree | 313b1abd855d32f5112253cb029a60e5846d9d85 | |
parent | 547d495a7d11d67639c68774a7011dfa8c36e347 [diff] |
As an optimization, we maintain a cache of generated ___Block_byref_id_object_dispose and ___Block_byref_id_object_copy functions so that we can simply reuse instead of creating a new one. Additionally, add an assert to ensure no one yet tries to align a __block variable beyond the alignment of a pointer as the codegen is incomplete. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72974 91177308-0d34-0410-b5e6-96231b3b80d8