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 @@ -392,7 +392,7 @@ impl<'tcx> CPlace<'tcx> {
392
392
local: Local,
393
393
layout: TyAndLayout<'tcx>,
394
394
) -> CPlace<'tcx> {
395
- let var = Variable :: from_u32 ( fx. next_ssa_var ) ;
395
+ let var = Variable::with_u32 (fx.next_ssa_var);
396
396
fx.next_ssa_var += 1;
397
397
fx.bcx.declare_var(var, fx.clif_type(layout.ty).unwrap());
398
398
CPlace { inner: CPlaceInner::Var(local, var), layout }
@@ -403,9 +403,9 @@ impl<'tcx> CPlace<'tcx> {
403
403
local: Local,
404
404
layout: TyAndLayout<'tcx>,
405
405
) -> CPlace<'tcx> {
406
- let var1 = Variable :: from_u32 ( fx. next_ssa_var ) ;
406
+ let var1 = Variable::with_u32 (fx.next_ssa_var);
407
407
fx.next_ssa_var += 1;
408
- let var2 = Variable :: from_u32 ( fx. next_ssa_var ) ;
408
+ let var2 = Variable::with_u32 (fx.next_ssa_var);
409
409
fx.next_ssa_var += 1;
410
410
411
411
let (ty1, ty2) = fx.clif_pair_type(layout.ty).unwrap();
You can’t perform that action at this time.
0 commit comments