| ... | ... | @@ -4394,12 +4394,12 @@ fn processDeath(self: *Self, inst: Air.Inst.Index) void { |
| 4394 | 4394 | |
| 4395 | 4395 | /// Turns stack_offset MCV into a real SPARCv9 stack offset usable for asm. |
| 4396 | 4396 | fn realStackOffset(off: u32) u32 { |
| 4397 | | return off |
| 4398 | | // SPARCv9 %sp points away from the stack by some amount. |
| 4399 | | + abi.stack_bias |
| 4400 | | // The first couple bytes of each stack frame is reserved |
| 4401 | | // for ABI and hardware purposes. |
| 4402 | | + abi.stack_reserved_area; |
| 4397 | return off + |
| 4398 | // SPARCv9 %sp points away from the stack by some amount. |
| 4399 | abi.stack_bias + |
| 4400 | // The first couple bytes of each stack frame is reserved |
| 4401 | // for ABI and hardware purposes. |
| 4402 | abi.stack_reserved_area; |
| 4403 | 4403 | // Only after that we have the usable stack frame portion. |
| 4404 | 4404 | } |
| 4405 | 4405 | |