Skip to content

Commit a00ea0b

Browse files
committed
Fix unchecked_sadd
1 parent 7083439 commit a00ea0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/builder.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ impl<'a, 'gcc, 'tcx> BuilderMethods<'a, 'tcx> for Builder<'a, 'gcc, 'tcx> {
656656
}
657657

658658
fn unchecked_sadd(&mut self, a: RValue<'gcc>, b: RValue<'gcc>) -> RValue<'gcc> {
659-
a + b
659+
self.gcc_add(a, b)
660660
}
661661

662662
fn unchecked_uadd(&mut self, a: RValue<'gcc>, b: RValue<'gcc>) -> RValue<'gcc> {

0 commit comments

Comments
 (0)