authorgravatar for koachan@protonmail.comKoakuma <koachan@protonmail.com> 2022-10-16 10:55:47+07:00
committergravatar for koachan@protonmail.comKoakuma <koachan@protonmail.com> 2022-12-10 21:11:14+07:00
log1b5b9eb365dc5f5d5f9387ab25e128fb507f91f3
tree38f00d2af963e237881be86136813aee099b8b6c
parent57616debf9708e61decba96134f89d2305da055b

stage2: sparc64: Add extra note about stack_offset MCV


1 files changed, 1 insertions(+), 0 deletions(-)

src/arch/sparc64/CodeGen.zig+1
......@@ -144,6 +144,7 @@ const MCValue = union(enum) {
144144 memory: u64,
145145 /// The value is one of the stack variables.
146146 /// If the type is a pointer, it means the pointer address is in the stack at this offset.
147 /// Note that this stores the plain value (i.e without the effects of the stack bias).
147148 stack_offset: u32,
148149 /// The value is a pointer to one of the stack variables (payload is stack offset).
149150 ptr_stack_offset: u32,