about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2025-01-21 20:34:52 +1100
committerZalathar <Zalathar@users.noreply.github.com>2025-01-24 16:13:12 +1100
commit52c1bfa7bb2733e798ce56f39ca4c147f6dd79b2 (patch)
tree6d3eed095a14c37540b8526661598c4eed53e64c /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentff48331588e74dc381374d7f474d85adc4dd3b4b (diff)
downloadrust-52c1bfa7bb2733e798ce56f39ca4c147f6dd79b2.tar.gz
rust-52c1bfa7bb2733e798ce56f39ca4c147f6dd79b2.zip
coverage: Simplify how counter terms are stored
Using `SmallVec` here was fine when it was a module-private detail, but if we
want to pass these terms across query boundaries then it's not worth the extra
hassle.

Replacing a method call with direct field access is slightly simpler.

Using the name `counter_terms` is more consistent with other code that tries to
maintain a distinction between (physical) "counters" and "expressions".
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions