Mike Stump
0892099dbc
Codegen support for copy helpers for block literals.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66319 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-07 02:35:30 +00:00
Mike Stump
cf62d39bc2
Pass the type of the block literal around to make required temporal ordering of code clearer.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66284 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-06 18:42:23 +00:00
Mike Stump
ee09422b01
Complete __Block_byref_id_object_copy cogegen for block literals.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66257 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-06 06:12:24 +00:00
Mike Stump
1851b68aaa
Finish off __Block_byref_id_object_dispose codegen for block literals.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66247 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-06 04:53:30 +00:00
Mike Stump
416d92ef0b
Remove extra arg.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66243 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-06 02:45:21 +00:00
Mike Stump
45031c08c6
More codegen support for the copy/dispose helpers for block literals.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66241 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-06 02:29:21 +00:00
Mike Stump
a4f668f3b7
Framework for codegen for copy/dispose helpers.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66231 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-06 01:33:24 +00:00
Mike Stump
00470a1c4c
prep work for copy/destroy helpers for block literals.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66159 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-05 08:32:30 +00:00
Mike Stump
797b632757
Add codegen support for __block variables to call _Block_object_dispose as necessary.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66117 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-05 01:23:13 +00:00
Mike Stump
ad75ab414e
Move more blocks CodeGenFunction code up and out.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66049 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-04 19:03:44 +00:00
Mike Stump
3947de5edd
Move some of the CodeGenFunction blocks code up and out. No
...
functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66048 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-04 18:57:26 +00:00
Mike Stump
90a904309c
Move more of the blocks code up and out.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66046 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-04 18:47:42 +00:00
Mike Stump
2a998148a6
Move more of blocks codegen out of CodeGenModule and into the
...
BlockModule. No functionality change. This should help people that
don't want to know anything about blocks not be confused by the
overloaded use of the term block or nor want to see all the blocks
goop.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66042 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-04 18:17:45 +00:00
Mike Stump
d883d841c2
Start the migration of more of the blocks code out of sight for most
...
people. De-duplicates BLOCK_NEEDS_FREE and friends.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66035 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-04 15:35:22 +00:00