about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorSimonas Kazlauskas <git@kazlauskas.me>2016-01-02 00:45:21 +0200
committerSimonas Kazlauskas <git@kazlauskas.me>2016-01-06 13:57:52 +0200
commit36b3951c7338ae0d69e125383038e76d00fc7d77 (patch)
treef601375c0efa9fdde4ac0bbb45f9886d0db5548c /src/rustllvm/RustWrapper.cpp
parentf9814242dc0066441db9391af9b56dea8fa4376f (diff)
downloadrust-36b3951c7338ae0d69e125383038e76d00fc7d77.tar.gz
rust-36b3951c7338ae0d69e125383038e76d00fc7d77.zip
Create personality slot when translating Resume
This considerably simplifies code around calling functions and translation of Resume itself. This
removes requirement that a block containing Resume terminator is always translated after something
which creates a landing pad, thus allowing us to actually translate some valid MIRs we could not
translate before.

However, an assumption is added that translator is correct (in regards to landing pad generation)
and code will never reach the Resume terminator without going through a landing pad first. Breaking
these assumptions would pass an `undef` value into the personality functions.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions