Skip to content

Commit fba0dae

Browse files
committed
fix(builder.rs): Apply a variable name change to func param.
1 parent e18d3c3 commit fba0dae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,7 @@ impl<'a, 'gcc, 'tcx> BuilderMethods<'a, 'tcx> for Builder<'a, 'gcc, 'tcx> {
722722
fn frem_fast(&mut self, lhs: RValue<'gcc>, rhs: RValue<'gcc>) -> RValue<'gcc> {
723723
// NOTE: it seems like we cannot enable fast-mode for a single operation in GCC.
724724
let result = self.frem(lhs, rhs);
725-
set_rval_location(self, i);
725+
set_rval_location(self, result);
726726
result
727727
}
728728

0 commit comments

Comments
 (0)