sat-arithmetic: minor formatting changes

This commit is contained in:
Travis Staloch 2021-09-10 15:41:43 -07:00 committed by Andrew Kelley
parent fd8383545a
commit 68050852fa
2 changed files with 2 additions and 2 deletions

View File

@ -2577,7 +2577,7 @@ pub const Node = struct {
array_mult,
/// `lhs *% rhs`. main_token is the `*%`.
mul_wrap,
/// `lhs *| rhs`. main_token is the `*%`.
/// `lhs *| rhs`. main_token is the `*|`.
mul_sat,
/// `lhs + rhs`. main_token is the `+`.
add,

View File

@ -1256,7 +1256,7 @@ pub const FuncGen = struct {
.xor => try self.airXor(inst),
.shl => try self.airShl(inst, false),
.shl_sat => try self.airShl(inst, true),
.shl_sat => try self.airShl(inst, true),
.shr => try self.airShr(inst),
.cmp_eq => try self.airCmp(inst, .eq),