diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2014-01-27 22:37:55 +1100 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2014-01-27 23:58:03 +1100 |
| commit | b4bb8c0f4ee1234e9d84aa7cb1a9ad691a509212 (patch) | |
| tree | 9fb5bc2209efd91a825d791caa029b8184c167e2 /src/rustllvm/RustWrapper.cpp | |
| parent | e5abe669831a59c48faa85e88ed8859b6dc63f49 (diff) | |
| download | rust-b4bb8c0f4ee1234e9d84aa7cb1a9ad691a509212.tar.gz rust-b4bb8c0f4ee1234e9d84aa7cb1a9ad691a509212.zip | |
std: add begin_unwind_fmt that reduces codesize for formatted fail!().
This ends up saving a single `call` instruction in the optimised code,
but saves a few hundred lines of non-optimised IR for `fn main() {
fail!("foo {}", "bar"); }` (comparing against the minimal generic
baseline from the parent commit).
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
