diff options
| author | 87flowers <178735591+87flowers@users.noreply.github.com> | 2024-10-16 21:18:46 +0100 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2025-02-22 17:09:20 -0800 |
| commit | 855445f18efb2f550e2f0953b2b1808f33137506 (patch) | |
| tree | 0cdd0d6c6209e8fd10407db456989afd12f8cb9d /src | |
| parent | 6013b53702648bc904c7e8bab2e067d739667b80 (diff) | |
| download | zig-855445f18efb2f550e2f0953b2b1808f33137506.tar.gz zig-855445f18efb2f550e2f0953b2b1808f33137506.zip | |
arch/sparc64/CodeGen: Fix indentation in realStackOffset
Diffstat (limited to 'src')
| -rw-r--r-- | src/arch/sparc64/CodeGen.zig | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/arch/sparc64/CodeGen.zig b/src/arch/sparc64/CodeGen.zig index 4ac988fb7c..58cd78a7d2 100644 --- a/src/arch/sparc64/CodeGen.zig +++ b/src/arch/sparc64/CodeGen.zig @@ -4394,12 +4394,12 @@ fn processDeath(self: *Self, inst: Air.Inst.Index) void { /// Turns stack_offset MCV into a real SPARCv9 stack offset usable for asm. fn realStackOffset(off: u32) u32 { - return off - // SPARCv9 %sp points away from the stack by some amount. - + abi.stack_bias - // The first couple bytes of each stack frame is reserved - // for ABI and hardware purposes. - + abi.stack_reserved_area; + return off + + // SPARCv9 %sp points away from the stack by some amount. + abi.stack_bias + + // The first couple bytes of each stack frame is reserved + // for ABI and hardware purposes. + abi.stack_reserved_area; // Only after that we have the usable stack frame portion. } |
