about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/struct-vec.js
diff options
context:
space:
mode:
authorScott McMurray <scottmcm@users.noreply.github.com>2024-04-06 11:37:57 -0700
committerScott McMurray <scottmcm@users.noreply.github.com>2024-04-06 11:37:57 -0700
commit00bd24766ff31f4234c72677f978e198ff8cac82 (patch)
treebf1b7889cf84ca98ceb99a6530719806e1460fba /tests/rustdoc-js-std/struct-vec.js
parent773fb88e13b06174d0ba48191731ea43ab6ac668 (diff)
downloadrust-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