aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectFrame.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2012-03-01 04:01:32 +0000
committerEli Friedman <eli.friedman@gmail.com>2012-03-01 04:01:32 +0000
commit98b01edc8cf20eb305f4cb1d5dde431518e19264 (patch)
treefeeeb02d1ee51891c9c395cbeba519173d7ddf9a /lldb/source/Commands/CommandObjectFrame.cpp
parentf9196a259c72ae841bfa1ad51b4327482944845c (diff)
downloadllvm-98b01edc8cf20eb305f4cb1d5dde431518e19264.zip
llvm-98b01edc8cf20eb305f4cb1d5dde431518e19264.tar.gz
llvm-98b01edc8cf20eb305f4cb1d5dde431518e19264.tar.bz2
Implement "optimization" for lambda-to-block conversion which inlines the generated block literal for lambdas which are immediately converted to block pointer type. This simplifies the AST, avoids an unnecessary copy of the lambda and makes it much easier to avoid copying the result onto the heap.
Note that this transformation has a substantial semantic effect outside of ARC: it gives the converted lambda lifetime semantics similar to a block literal. With ARC, the effect is much less obvious because the lifetime of blocks is already managed. llvm-svn: 151797
Diffstat (limited to 'lldb/source/Commands/CommandObjectFrame.cpp')
0 files changed, 0 insertions, 0 deletions