From c74e71905f7dda0309b3290c715757c18470a6c5 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Wed, 22 Nov 2023 22:19:31 +0000 Subject: Clarify behaviour of PatioAllocStack --- .../shedlang/compiler/patio/ast/instructions/PatioAllocStack.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/main/java') diff --git a/src/main/java/org/shedlang/compiler/patio/ast/instructions/PatioAllocStack.java b/src/main/java/org/shedlang/compiler/patio/ast/instructions/PatioAllocStack.java index 9f85013d..0725a5cb 100644 --- a/src/main/java/org/shedlang/compiler/patio/ast/instructions/PatioAllocStack.java +++ b/src/main/java/org/shedlang/compiler/patio/ast/instructions/PatioAllocStack.java @@ -5,8 +5,9 @@ import org.shedlang.compiler.patio.ast.types.PatioDataLayout; import org.shedlang.compiler.sources.Source; /** - * Allocate space on the stack for the given data layout, and store the pointer - * to the allocated memory in the target local. + * Allocate space for the given data layout on the memory stack for the current + * call frame, and store the pointer to the allocated memory in the target + * local. */ public record PatioAllocStack( PatioLocalRef target, -- cgit v1.2.3