| author | |
| committer | |
| log | c5b99267c0580b166d7ccc2bbf77e9c92566962f |
| tree | 074196152e43765e804e35aed67d027bd79b2ead |
| parent | 3923722cc617251de91d5bc9a5d4f9c0ca93ee1a |
SPARC does not have an explicit notion of saving/restoring registers.
The usual windowing mechanism (save/restore/return) already takes care of that
for us.1 files changed, 1 insertions(+), 1 deletions(-)
src/arch/sparc64/CodeGen.zig+1-1| ... | ... | @@ -407,7 +407,7 @@ fn gen(self: *Self) !void { |
| 407 | 407 | } |
| 408 | 408 | |
| 409 | 409 | // Backpatch stack offset |
| 410 | const total_stack_size = self.max_end_stack + abi.stack_reserved_area; // TODO + self.saved_regs_stack_space; | |
| 410 | const total_stack_size = self.max_end_stack + abi.stack_reserved_area; | |
| 411 | 411 | const stack_size = mem.alignForwardGeneric(u32, total_stack_size, self.stack_align); |
| 412 | 412 | if (math.cast(i13, stack_size)) |size| { |
| 413 | 413 | self.mir_instructions.set(save_inst, .{ |