about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2014-01-27 18:03:37 +1100
committerHuon Wilson <dbau.pp+github@gmail.com>2014-01-27 18:03:37 +1100
commite5abe669831a59c48faa85e88ed8859b6dc63f49 (patch)
tree45752742dab78d5dc890d267d171ae4f1f7ba891 /src/rustllvm/RustWrapper.cpp
parent0119e46204d1bc8937b8c3fb10e3f41a7ebb7733 (diff)
downloadrust-e5abe669831a59c48faa85e88ed8859b6dc63f49.tar.gz
rust-e5abe669831a59c48faa85e88ed8859b6dc63f49.zip
std: reduce the generic code instantiated by fail!().
This splits the vast majority of the code path taken by
`fail!()` (`begin_unwind`) into a separate non-generic inline(never)
function, so that uses of `fail!()` only monomorphise a small amount of
code, reducing code bloat and making very small crates compile faster.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions