diff options
Diffstat (limited to 'src/main/java')
| -rw-r--r-- | src/main/java/org/shedlang/compiler/patio/PatioCodeGenContext.java | 16 |
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 |
