diff options
| author | Scott McMurray <scottmcm@users.noreply.github.com> | 2024-04-06 11:37:57 -0700 |
|---|---|---|
| committer | Scott McMurray <scottmcm@users.noreply.github.com> | 2024-04-06 11:37:57 -0700 |
| commit | 00bd24766ff31f4234c72677f978e198ff8cac82 (patch) | |
| tree | bf1b7889cf84ca98ceb99a6530719806e1460fba /tests/rustdoc-js-std/struct-vec.js | |
| parent | 773fb88e13b06174d0ba48191731ea43ab6ac668 (diff) | |
| download | rust-00bd24766ff31f4234c72677f978e198ff8cac82.tar.gz rust-00bd24766ff31f4234c72677f978e198ff8cac82.zip | |
Don't emit divide-by-zero panic paths in `StepBy::len`
I happened to notice today that there's actually two such calls emitted in the assembly: <https://rust.godbolt.org/z/1Wbbd3Ts6> Since they're impossible, hopefully telling LLVM that will also help optimizations elsewhere.
Diffstat (limited to 'tests/rustdoc-js-std/struct-vec.js')
0 files changed, 0 insertions, 0 deletions
