aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2023-11-22 22:19:31 +0000
committerMichael Williamson <mike@zwobble.org>2023-11-22 22:19:31 +0000
commitc74e71905f7dda0309b3290c715757c18470a6c5 (patch)
tree12ac5e00c7653d1b1d540b6cf9276bc60280ac84 /src/main/java
parentd8f48218f7389bcc0bfff1bcf98c0dcf0d34958a (diff)
Clarify behaviour of PatioAllocStack
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/org/shedlang/compiler/patio/ast/instructions/PatioAllocStack.java5
1 files changed, 3 insertions, 2 deletions
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,