Skip to content

Commit fc88818

Browse files
committed
chore: reset scratch before place
1 parent b63d6e8 commit fc88818

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • libs/@local/hashql/mir/src/pass

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -557,6 +557,8 @@ pub fn place<'heap>(
557557
MirDiagnosticCategory,
558558
SpanId,
559559
> {
560+
scratch.reset();
561+
560562
let heap = context.heap;
561563

562564
let mut pass = SizeEstimationAnalysis::new_in(&*scratch);

0 commit comments

Comments
 (0)