From 1b5b9eb365dc5f5d5f9387ab25e128fb507f91f3 Mon Sep 17 00:00:00 2001 From: Koakuma Date: Sun, 16 Oct 2022 10:55:47 +0700 Subject: [PATCH] stage2: sparc64: Add extra note about stack_offset MCV --- src/arch/sparc64/CodeGen.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/src/arch/sparc64/CodeGen.zig b/src/arch/sparc64/CodeGen.zig index 575622ea4c..80fbf75ce2 100644 --- a/src/arch/sparc64/CodeGen.zig +++ b/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,