Skip to content

Commit d9c58eb

Browse files
committed
chore: add small todo
1 parent b32526d commit d9c58eb

File tree

1 file changed

+3
-0
lines changed
  • libs/@local/hashql/mir/src/pass/transform/ssa_repair

1 file changed

+3
-0
lines changed

libs/@local/hashql/mir/src/pass/transform/ssa_repair/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,9 @@ impl<'env, 'heap> Pass<'env, 'heap> for SsaRepairPass {
162162
);
163163

164164
let mut repair = if let Some(mut prev) = prev_repair.take() {
165+
// TODO: due to its iterative nature, we may be able to ditch the use of `reuse`
166+
// once the allocator API is available in `SmallVec`, as it would enable us to make
167+
// the bitsets allocator aware.
165168
prev.reuse(violation, locations, iterated);
166169
prev
167170
} else {

0 commit comments

Comments
 (0)