Reduce the number of arguments to fail/fail_bounds_check/begin_unwind
a9fbd9e
Opened by Patrick Walton at
These appear all the time and result in large code bloat. At least the file and line should be combined into a FailDescriptor static.
Also,
fail!()andfail!("static string")result in inefficient codegen and code bloat because they call into the string formatter when they don't need to.Patrick Walton at 2014-07-18 21:18:37
This seems to be done for
std. The macro incorestill uses the string formatter for all invocations, but I don't even know how to use those.Björn Steinbrink at 2014-08-17 15:04:49