From: Bryan English Date: Mon, 19 Jan 2026 21:31:59 +0000 (-0500) Subject: correct spacing X-Git-Url: https://rethought.computer/gitweb//gitweb//git?a=commitdiff_plain;h=2a629db4149c98b7b606ba781c19b9c0bce5a0f7;p=sorel-lang.git correct spacing --- diff --git a/hylo-lang/hyloc/src/riscv_asm_codegen.rs b/hylo-lang/hyloc/src/riscv_asm_codegen.rs index 53e88fa..ce790bd 100644 --- a/hylo-lang/hyloc/src/riscv_asm_codegen.rs +++ b/hylo-lang/hyloc/src/riscv_asm_codegen.rs @@ -63,11 +63,11 @@ impl<'a> CodeGen<'a> { self.lines.push(line.to_string()); } - asm_macro!(copy_top_stack_value_to, " lw {}, 0(s2)", &str); - asm_macro!(copy_offset_stack_value_to, " lw {}, {}*8(s2)", &str, isize); - asm_macro!(deref_pointer_to_from, " lw {}, 0({})", &str, &str); - asm_macro!(copy_to_top_of_stack, " sw {}, 0(s2)", &str); - asm_macro!(move_stack_ptr_by_cells, " addi s2, s2, {}*8", isize); + asm_macro!(copy_top_stack_value_to, "lw {}, 0(s2)", &str); + asm_macro!(copy_offset_stack_value_to, "lw {}, {}*8(s2)", &str, isize); + asm_macro!(deref_pointer_to_from, "lw {}, 0({})", &str, &str); + asm_macro!(copy_to_top_of_stack, "sw {}, 0(s2)", &str); + asm_macro!(move_stack_ptr_by_cells, "addi s2, s2, {}*8", isize); fn pop_to(&mut self, reg: &str) { self.copy_top_stack_value_to(reg);