Skip to content

Commit

Permalink
Merge pull request #579 from klensy/typo
Browse files Browse the repository at this point in the history
fix typo
  • Loading branch information
antoyo authored Jan 12, 2025
2 parents 153fbfd + a3eeee3 commit f03d3c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/int.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ impl<'a, 'gcc, 'tcx> Builder<'a, 'gcc, 'tcx> {
}
}
}
} else if a_type.is_vector() && a_type.is_vector() {
} else if a_type.is_vector() && b_type.is_vector() {
a >> b
} else if a_native && !b_native {
self.gcc_lshr(a, self.gcc_int_cast(b, a_type))
Expand Down Expand Up @@ -660,7 +660,7 @@ impl<'a, 'gcc, 'tcx> Builder<'a, 'gcc, 'tcx> {
}
}
}
} else if a_type.is_vector() && a_type.is_vector() {
} else if a_type.is_vector() && b_type.is_vector() {
a << b
} else if a_native && !b_native {
self.gcc_shl(a, self.gcc_int_cast(b, a_type))
Expand Down

0 comments on commit f03d3c4

Please sign in to comment.