File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
libs/@local/hashql/mir/src/pass/transform/ssa_repair Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -400,7 +400,7 @@ impl<'heap> VisitorMut<'heap> for RewireBody<'_, 'heap> {
400400 // We are part of a DF+ and need to add our param, subsequent visits will use that value to
401401 // further recurse.
402402 if let FindDefFromTop :: Param ( param) = def {
403- let mut new_params = TinyVec :: from_slice ( params) ;
403+ let mut new_params = TinyVec :: from_slice_copy ( params) ;
404404 new_params. push ( param) ;
405405
406406 * params = self . interner . locals . intern_slice ( & new_params) ;
@@ -437,7 +437,7 @@ impl<'heap> VisitorMut<'heap> for RewireBody<'_, 'heap> {
437437 debug_assert_eq ! ( Some ( current_local) , self . last_def) ;
438438 let operand = Operand :: Place ( Place :: local ( current_local, self . interner ) ) ;
439439
440- let mut args = TinyVec :: from_slice ( & target. args ) ;
440+ let mut args = TinyVec :: from_slice_copy ( & target. args ) ;
441441 args. push ( operand) ;
442442
443443 target. args = self . interner . operands . intern_slice ( & args) ;
You can’t perform that action at this time.
0 commit comments