about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2016-07-08 19:45:37 -0700
committerAlex Crichton <alex@alexcrichton.com>2016-08-11 11:19:30 -0700
commit045c8c86244aa69843c7f55ec91f2330a3aaec4e (patch)
treeadea616d01ccd690c63854ae2d21ba78e56e778e /src/libsyntax
parent42001edc998f3406ecc04afa48bf07ce91247b67 (diff)
downloadrust-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')
0 files changed, 0 insertions, 0 deletions