stage2: sparc64: Remove saved_regs_stack_space calculation
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.
This commit is contained in:
@@ -407,7 +407,7 @@ fn gen(self: *Self) !void {
|
||||
}
|
||||
|
||||
// Backpatch stack offset
|
||||
const total_stack_size = self.max_end_stack + abi.stack_reserved_area; // TODO + self.saved_regs_stack_space;
|
||||
const total_stack_size = self.max_end_stack + abi.stack_reserved_area;
|
||||
const stack_size = mem.alignForwardGeneric(u32, total_stack_size, self.stack_align);
|
||||
if (math.cast(i13, stack_size)) |size| {
|
||||
self.mir_instructions.set(save_inst, .{
|
||||
|
||||
Reference in New Issue
Block a user