Skip to content

Commit 8c975d9

Browse files
committed
fix(builder.rs): Rename r to rvalue in set_rval_location
1 parent fba0dae commit 8c975d9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/builder.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -398,12 +398,12 @@ impl<'gcc, 'tcx> BackendTypes for Builder<'_, 'gcc, 'tcx> {
398398
type DIVariable = <CodegenCx<'gcc, 'tcx> as BackendTypes>::DIVariable;
399399
}
400400

401-
pub fn set_rval_location<'a, 'gcc, 'tcx>(bx: &mut Builder<'a,'gcc,'tcx>, r:RValue<'gcc>) -> RValue<'gcc> {
401+
pub fn set_rval_location<'a, 'gcc, 'tcx>(bx: &mut Builder<'a,'gcc,'tcx>, rvalue:RValue<'gcc>) -> RValue<'gcc> {
402402
if bx.loc.is_some(){
403403
#[cfg(feature = "master")]
404-
r.set_location(bx.loc.unwrap());
404+
rvalue.set_location(bx.loc.unwrap());
405405
}
406-
r
406+
rvalue
407407

408408
}
409409

0 commit comments

Comments
 (0)