diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2014-01-27 18:03:37 +1100 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2014-01-27 18:03:37 +1100 |
| commit | e5abe669831a59c48faa85e88ed8859b6dc63f49 (patch) | |
| tree | 45752742dab78d5dc890d267d171ae4f1f7ba891 /src/rustllvm/RustWrapper.cpp | |
| parent | 0119e46204d1bc8937b8c3fb10e3f41a7ebb7733 (diff) | |
| download | rust-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
