From 9fd7f38600a61b665978db6203ce019b6fe3054b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Fri, 17 Oct 2025 21:01:09 +0200 Subject: [PATCH] std.debug.cpu_context.Sparc: fix bad use of call delay slot --- lib/std/debug/cpu_context.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/std/debug/cpu_context.zig b/lib/std/debug/cpu_context.zig index ac20c407e0..caed9e3289 100644 --- a/lib/std/debug/cpu_context.zig +++ b/lib/std/debug/cpu_context.zig @@ -1207,8 +1207,8 @@ const Sparc = extern struct { \\ stx %i6, [%l0 + 240] \\ stx %i7, [%l0 + 248] \\ call 1f - \\ stx %o7, [%l0 + 256] \\1: + \\ stx %o7, [%l0 + 256] else \\ std %g0, [%l0 + 0] \\ std %g2, [%l0 + 8] @@ -1227,8 +1227,8 @@ const Sparc = extern struct { \\ std %i4, [%l0 + 112] \\ std %i6, [%l0 + 120] \\ call 1f - \\ st %o7, [%l0 + 128] \\1: + \\ st %o7, [%l0 + 128] : : [ctx] "{l0}" (&ctx), : .{ .o7 = true, .memory = true });