aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGClass.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-04-21 10:29:06 +0000
committerJohn McCall <rjmccall@apple.com>2010-04-21 10:29:06 +0000
commit839cbaa004a24e8f1ea14db5ed76e3d25ed28996 (patch)
treea57fc112e681ee3e4345dc49599737721ac55962 /lib/CodeGen/CGClass.cpp
parent3d3ec1c099ec8bfac3aa1fb0126fe515b7c7fa05 (diff)
Teach EmitBlock to put the target block immediately after the current block
(if there's a current block). The chief advantage of doing this is that it lets us pick blocks (e.g. EH blocks) to push to the end of the function so that fallthrough happens consistently --- i.e. it gives us the flexibility of ordering blocks as we please without having to change the order in which we generate code. There are standard (?) optimization passes which can do some of that for us, but better to generate reasonable code to begin with. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101997 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGClass.cpp')
0 files changed, 0 insertions, 0 deletions