Commit 1b5b9eb365

Koakuma <koachan@protonmail.com>
2022-10-16 05:55:47
stage2: sparc64: Add extra note about stack_offset MCV
1 parent 57616de
Changed files (1)
src
arch
sparc64
src/arch/sparc64/CodeGen.zig
@@ -144,6 +144,7 @@ const MCValue = union(enum) {
     memory: u64,
     /// The value is one of the stack variables.
     /// If the type is a pointer, it means the pointer address is in the stack at this offset.
+    /// Note that this stores the plain value (i.e without the effects of the stack bias).
     stack_offset: u32,
     /// The value is a pointer to one of the stack variables (payload is stack offset).
     ptr_stack_offset: u32,