about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/subslice-patterns-const-eval.rs
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2025-01-16 21:41:37 +1100
committerZalathar <Zalathar@users.noreply.github.com>2025-01-16 22:07:18 +1100
commit6eabf03526e561ea31b99e14a069e86cc168bede (patch)
tree107779aa0873040680618852875119162a748284 /compiler/rustc_codegen_gcc/example/subslice-patterns-const-eval.rs
parentf1300c860e6ff4e024f0a347b87f94e36785ce49 (diff)
downloadrust-6eabf03526e561ea31b99e14a069e86cc168bede.tar.gz
rust-6eabf03526e561ea31b99e14a069e86cc168bede.zip
coverage: Make `yank_to_spantree_root` iterative instead of recursive
This avoids having to worry about stack space when traversing very long
spantree paths, e.g. when instrumenting a long sequence of if/else statements.
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/subslice-patterns-const-eval.rs')
0 files changed, 0 insertions, 0 deletions