mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 15:51:12 +00:00
Merge remote-tracking branch 'origin/trunk' into builtins-in-roc
This commit is contained in:
commit
877b9eab7a
5 changed files with 67 additions and 13 deletions
|
@ -6668,12 +6668,12 @@ fn build_int_binop<'a, 'ctx, 'env>(
|
|||
}
|
||||
NumShiftRightBy => {
|
||||
// NOTE arguments are flipped;
|
||||
bd.build_right_shift(rhs, lhs, false, "int_shift_right")
|
||||
bd.build_right_shift(rhs, lhs, true, "int_shift_right")
|
||||
.into()
|
||||
}
|
||||
NumShiftRightZfBy => {
|
||||
// NOTE arguments are flipped;
|
||||
bd.build_right_shift(rhs, lhs, true, "int_shift_right_zf")
|
||||
bd.build_right_shift(rhs, lhs, false, "int_shift_right_zf")
|
||||
.into()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue