about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorBjörn Steinbrink <bsteinbr@gmail.com>2014-07-25 14:31:05 +0200
committerBjörn Steinbrink <bsteinbr@gmail.com>2014-07-25 14:31:05 +0200
commitb13cad3a9cef1d1fbc97434d9f3081788548e811 (patch)
treec97fcaceb7ef6696b3804c787f5d3a79cd76739d /src/rustllvm/RustWrapper.cpp
parente5984640e63d2e9f613d857ad2d48ff57b310655 (diff)
downloadrust-b13cad3a9cef1d1fbc97434d9f3081788548e811.tar.gz
rust-b13cad3a9cef1d1fbc97434d9f3081788548e811.zip
Emit lifetime end markers in unwinding codepaths
Currently we don't emit lifetime end markers when translating the
unwinding code. I omitted that when I added the support for lifetime
intrinsics, because I initially made the mistake of just returning true
in clean_on_unwind(). That caused almost all calls to be translated as
invokes, leading to quite awful results.

To correctly emit the lifetime end markers, we must differentiate
between cleanup that requires unwinding and such cleanup that just wants
to emit code during unwinding.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions