File tree 1 file changed +3
-3
lines changed 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> {
348
348
local : Local ,
349
349
layout : TyAndLayout < ' tcx > ,
350
350
) -> CPlace < ' tcx > {
351
- let var = Variable :: with_u32 ( fx. next_ssa_var ) ;
351
+ let var = Variable :: from_u32 ( fx. next_ssa_var ) ;
352
352
fx. next_ssa_var += 1 ;
353
353
fx. bcx . declare_var ( var, fx. clif_type ( layout. ty ) . unwrap ( ) ) ;
354
354
CPlace { inner : CPlaceInner :: Var ( local, var) , layout }
@@ -359,9 +359,9 @@ impl<'tcx> CPlace<'tcx> {
359
359
local : Local ,
360
360
layout : TyAndLayout < ' tcx > ,
361
361
) -> CPlace < ' tcx > {
362
- let var1 = Variable :: with_u32 ( fx. next_ssa_var ) ;
362
+ let var1 = Variable :: from_u32 ( fx. next_ssa_var ) ;
363
363
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 ) ;
365
365
fx. next_ssa_var += 1 ;
366
366
367
367
let ( ty1, ty2) = fx. clif_pair_type ( layout. ty ) . unwrap ( ) ;
You can’t perform that action at this time.
0 commit comments