diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-11-10 10:26:33 +0100 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-11-21 20:05:16 +0100 |
| commit | 2f00e86cb5cbb4d4cfe17abc6136aacadbe02382 (patch) | |
| tree | be9892b5dbd8e1f80ecd4a335483a0cd1b7d8a93 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 35ef33a89dfd8ff8c8a7b3c58fa7136bbcb2f1ed (diff) | |
| download | rust-2f00e86cb5cbb4d4cfe17abc6136aacadbe02382.tar.gz rust-2f00e86cb5cbb4d4cfe17abc6136aacadbe02382.zip | |
Introduce MIR optimizations for simplifying `x?` on `Result`s.
This optimization depends on inlining for the identity conversions introduced by the lowering of the `?`. To take advantage of `SimplifyArmIdentity`, `-Z mir-opt-level=2` is required because that triggers the inlining MIR optimization.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
