Mark that a register's value should be computed as `sp + slot`.
(&mut self, reg: &IrRegister)
| 184 | self.label_map.get(ir_label) |
| 185 | } |
| 186 | |
| 187 | /// Emit the function prologue using the given backend. |
| 188 | pub fn emit_prologue(&self, backend: &mut impl Rv64Backend) { |
| 189 | backend.emit_comment("--- Function Prologue ---"); |
| 190 | let frame_size = self.frame_size(); |
| 191 | backend.emit_comment(&format!("Allocate stack frame: {frame_size} bytes")); |
no test coverage detected