]> rethought.computer Git - sorel-lang.git/commitdiff
correct spacing keep/2a629db4149c98b7b606ba781c19b9c0bce5a0f7
authorBryan English <bryan@rethought.computer>
Mon, 19 Jan 2026 21:31:59 +0000 (16:31 -0500)
committerBryan English <bryan@rethought.computer>
Tue, 10 Feb 2026 04:08:54 +0000 (04:08 +0000)
hylo-lang/hyloc/src/riscv_asm_codegen.rs

index 53e88faf14017fd7cede1d5821a6ed31d2f792b8..ce790bdb76d71cc7879c8fbe379c43bcbfc108c0 100644 (file)
@@ -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);