John McCall cd78e805e9 When converting a block pointer to an Objective-C pointer type, extend
the lifetime of the block by copying it to the heap, or else we'll get
a dangling reference because the code working with the non-block-typed
object will not know it needs to copy.

There is some danger here, e.g. with assigning a block literal to an
unsafe variable, but, well, it's an unsafe variable.

llvm-svn: 139451
2011-09-10 01:16:55 +00:00
..
2011-06-15 23:02:42 +00:00
2011-07-20 23:53:57 +00:00
2010-12-26 20:12:30 +00:00
2011-06-15 23:02:42 +00:00
2010-08-25 17:32:22 +00:00
2010-03-09 22:17:52 +00:00
2010-04-26 10:58:19 +00:00
2011-01-17 22:11:21 +00:00
2010-05-20 18:22:28 +00:00
2010-05-11 18:48:13 +00:00
2011-02-28 21:19:34 +00:00
2011-02-28 21:19:34 +00:00