diff options
| author | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2016-08-14 20:29:48 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-08-14 20:29:48 +0300 |
| commit | 41e0f2d5e3422c57e94457228bf4943ddbd26ce4 (patch) | |
| tree | b9784ffe226c4d64a0fc200ba3fe438d1c3bc62a /src/libsyntax/parse | |
| parent | fa57f358a326af04eb354fb37c9afd38e8bb87bd (diff) | |
| parent | 045c8c86244aa69843c7f55ec91f2330a3aaec4e (diff) | |
| download | rust-41e0f2d5e3422c57e94457228bf4943ddbd26ce4.tar.gz rust-41e0f2d5e3422c57e94457228bf4943ddbd26ce4.zip | |
Rollup merge of #35444 - alexcrichton:optimize-catch-unwind, r=brson
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')
0 files changed, 0 insertions, 0 deletions
