File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -348,7 +348,7 @@ impl<'tcx> CPlace<'tcx> {
348348 local : Local ,
349349 layout : TyAndLayout < ' tcx > ,
350350 ) -> CPlace < ' tcx > {
351- let var = Variable :: with_u32 ( fx. next_ssa_var ) ;
351+ let var = Variable :: from_u32 ( fx. next_ssa_var ) ;
352352 fx. next_ssa_var += 1 ;
353353 fx. bcx . declare_var ( var, fx. clif_type ( layout. ty ) . unwrap ( ) ) ;
354354 CPlace { inner : CPlaceInner :: Var ( local, var) , layout }
@@ -359,9 +359,9 @@ impl<'tcx> CPlace<'tcx> {
359359 local : Local ,
360360 layout : TyAndLayout < ' tcx > ,
361361 ) -> CPlace < ' tcx > {
362- let var1 = Variable :: with_u32 ( fx. next_ssa_var ) ;
362+ let var1 = Variable :: from_u32 ( fx. next_ssa_var ) ;
363363 fx. next_ssa_var += 1 ;
364- let var2 = Variable :: with_u32 ( fx. next_ssa_var ) ;
364+ let var2 = Variable :: from_u32 ( fx. next_ssa_var ) ;
365365 fx. next_ssa_var += 1 ;
366366
367367 let ( ty1, ty2) = fx. clif_pair_type ( layout. ty ) . unwrap ( ) ;
You can’t perform that action at this time.
0 commit comments