about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorBjörn Steinbrink <bsteinbr@gmail.com>2014-07-06 12:02:40 +0200
committerBjörn Steinbrink <bsteinbr@gmail.com>2014-07-18 18:16:18 +0200
commit33a4dd824f708d1e7c25ad26d8a4fe801d0b25e8 (patch)
treea040ab832f527f9dccebb0caeb663fc58ba4f3f5 /src/rustllvm/PassWrapper.cpp
parent5ddc7b4a252fbebee5f2ac87ed755139816d6823 (diff)
downloadrust-33a4dd824f708d1e7c25ad26d8a4fe801d0b25e8.tar.gz
rust-33a4dd824f708d1e7c25ad26d8a4fe801d0b25e8.zip
Remove outdated unreachable check from `call_visit_glue`
`call_visit_glue` is only ever called from trans_intrinsic, and the
block won't be unreachable there. Also, the comment doesn't make sense
anymore. When the code was introduced in 38fee9526a the function was
also responsible for the cleanup glue, which is no longer the case.

While we're at it, also fixed the debug message to output the right
function name.
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions