aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2024-03-15 16:59:05 -0700
committerGitHub <noreply@github.com>2024-03-15 16:59:05 -0700
commitce4245f873c68cfcc431deb303383f25f6d50855 (patch)
treebe29f6d6d6bfa1c8fc7a8f20d61f19215a62554a /src
parentcb419a1a8692cdbd612c6b63b65ba9a02e23c6c1 (diff)
parentd7cf25f5ca40e5cbcd739911e773769a62c2abe1 (diff)
downloadzig-ce4245f873c68cfcc431deb303383f25f6d50855.tar.gz
zig-ce4245f873c68cfcc431deb303383f25f6d50855.zip
Merge pull request #19312 from mikdusan/bsd-debitrot
bsd: debitrot
Diffstat (limited to 'src')
-rw-r--r--src/Air.zig6
-rw-r--r--src/arch/sparc64/CodeGen.zig8
2 files changed, 7 insertions, 7 deletions
diff --git a/src/Air.zig b/src/Air.zig
index e014e225e0..5513abdbfb 100644
--- a/src/Air.zig
+++ b/src/Air.zig
@@ -727,11 +727,11 @@ pub const Inst = struct {
/// Result type is always `void`.
/// Uses the `bin_op` field. LHS is pointer, RHS is element.
atomic_store_unordered,
- /// Same as `atomic_store_unordered` but with `AtomicOrder.Monotonic`.
+ /// Same as `atomic_store_unordered` but with `AtomicOrder.monotonic`.
atomic_store_monotonic,
- /// Same as `atomic_store_unordered` but with `AtomicOrder.Release`.
+ /// Same as `atomic_store_unordered` but with `AtomicOrder.release`.
atomic_store_release,
- /// Same as `atomic_store_unordered` but with `AtomicOrder.SeqCst`.
+ /// Same as `atomic_store_unordered` but with `AtomicOrder.seq_cst`.
atomic_store_seq_cst,
/// Atomically read-modify-write via a pointer.
/// Result type is the element type of the pointer.
diff --git a/src/arch/sparc64/CodeGen.zig b/src/arch/sparc64/CodeGen.zig
index 0ab82abdd6..b6b3f30879 100644
--- a/src/arch/sparc64/CodeGen.zig
+++ b/src/arch/sparc64/CodeGen.zig
@@ -647,10 +647,10 @@ fn genBody(self: *Self, body: []const Air.Inst.Index) InnerError!void {
.call_never_tail => try self.airCall(inst, .never_tail),
.call_never_inline => try self.airCall(inst, .never_inline),
- .atomic_store_unordered => @panic("TODO try self.airAtomicStore(inst, .Unordered)"),
- .atomic_store_monotonic => @panic("TODO try self.airAtomicStore(inst, .Monotonic)"),
- .atomic_store_release => @panic("TODO try self.airAtomicStore(inst, .Release)"),
- .atomic_store_seq_cst => @panic("TODO try self.airAtomicStore(inst, .SeqCst)"),
+ .atomic_store_unordered => @panic("TODO try self.airAtomicStore(inst, .unordered)"),
+ .atomic_store_monotonic => @panic("TODO try self.airAtomicStore(inst, .monotonic)"),
+ .atomic_store_release => @panic("TODO try self.airAtomicStore(inst, .release)"),
+ .atomic_store_seq_cst => @panic("TODO try self.airAtomicStore(inst, .seq_cst)"),
.struct_field_ptr_index_0 => try self.airStructFieldPtrIndex(inst, 0),
.struct_field_ptr_index_1 => try self.airStructFieldPtrIndex(inst, 1),