diff options
| -rw-r--r-- | lib/std/zig/Ast.zig | 2 | ||||
| -rw-r--r-- | src/codegen/llvm.zig | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/zig/Ast.zig b/lib/std/zig/Ast.zig index 3632551d17..b69da459d3 100644 --- a/lib/std/zig/Ast.zig +++ b/lib/std/zig/Ast.zig @@ -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, diff --git a/src/codegen/llvm.zig b/src/codegen/llvm.zig index 733984a9d6..cdd19146b5 100644 --- a/src/codegen/llvm.zig +++ b/src/codegen/llvm.zig @@ -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), |
