diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2016-07-08 19:45:37 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2016-08-11 11:19:30 -0700 |
| commit | 045c8c86244aa69843c7f55ec91f2330a3aaec4e (patch) | |
| tree | adea616d01ccd690c63854ae2d21ba78e56e778e /src/libsyntax/parse/parser.rs | |
| parent | 42001edc998f3406ecc04afa48bf07ce91247b67 (diff) | |
| download | rust-045c8c86244aa69843c7f55ec91f2330a3aaec4e.tar.gz rust-045c8c86244aa69843c7f55ec91f2330a3aaec4e.zip | |
std: Optimize panic::catch_unwind slightly
The previous implementation of this function was overly conservative with liberal usage of `Option` and `.unwrap()` which in theory never triggers. This commit essentially removes the `Option`s in favor of unsafe implementations, improving the code generation of the fast path for LLVM to see through what's happening more clearly. cc #34727
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
0 files changed, 0 insertions, 0 deletions
