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 22:37:55 +1100
committerHuon Wilson <dbau.pp+github@gmail.com>2014-01-27 23:58:03 +1100
commitb4bb8c0f4ee1234e9d84aa7cb1a9ad691a509212 (patch)
tree9fb5bc2209efd91a825d791caa029b8184c167e2 /src/rustllvm/RustWrapper.cpp
parente5abe669831a59c48faa85e88ed8859b6dc63f49 (diff)
downloadrust-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