aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2023-11-20 20:39:57 +0000
committerMichael Williamson <mike@zwobble.org>2023-11-20 20:39:57 +0000
commite406708eb8a77a5929982947d11d44b52223e812 (patch)
tree18312fd01272443d8cd7f2c17abb776a0e8e13e7 /src/main/java
parent51a0d5a8b6db54368872dc3df9ade204f47c59c7 (diff)
Remove unused code
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/org/shedlang/compiler/patio/PatioCodeGenContext.java16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/main/java/org/shedlang/compiler/patio/PatioCodeGenContext.java b/src/main/java/org/shedlang/compiler/patio/PatioCodeGenContext.java
index c6f9b11d..4174279a 100644
--- a/src/main/java/org/shedlang/compiler/patio/PatioCodeGenContext.java
+++ b/src/main/java/org/shedlang/compiler/patio/PatioCodeGenContext.java
@@ -463,22 +463,6 @@ public record PatioCodeGenContext(
}
@CheckReturnValue
- public PatioCodeGenResult<PatioLocalRef> allocateParam(
- PatioCodeGenLocalSpace space,
- String name,
- PatioType type
- ) {
- var result = this.functionContext.allocateLocal(
- space,
- Optional.of(name),
- type,
- PatioLocal.Param::new
- );
-
- return withFunctionContextResult(result);
- }
-
- @CheckReturnValue
public PatioCodeGenResult<PatioLocalRef> allocateVal(
PatioCodeGenLocalSpace space,
PatioType type