fix(builder.rs): Rename r
to rvalue
in set_rval_location
This commit is contained in:
parent
fba0dae5fe
commit
8c975d9861
@ -398,12 +398,12 @@ impl<'gcc, 'tcx> BackendTypes for Builder<'_, 'gcc, 'tcx> {
|
||||
type DIVariable = <CodegenCx<'gcc, 'tcx> as BackendTypes>::DIVariable;
|
||||
}
|
||||
|
||||
pub fn set_rval_location<'a, 'gcc, 'tcx>(bx: &mut Builder<'a,'gcc,'tcx>, r:RValue<'gcc>) -> RValue<'gcc> {
|
||||
pub fn set_rval_location<'a, 'gcc, 'tcx>(bx: &mut Builder<'a,'gcc,'tcx>, rvalue:RValue<'gcc>) -> RValue<'gcc> {
|
||||
if bx.loc.is_some(){
|
||||
#[cfg(feature = "master")]
|
||||
r.set_location(bx.loc.unwrap());
|
||||
rvalue.set_location(bx.loc.unwrap());
|
||||
}
|
||||
r
|
||||
rvalue
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user