From e406708eb8a77a5929982947d11d44b52223e812 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Mon, 20 Nov 2023 20:39:57 +0000 Subject: Remove unused code --- .../org/shedlang/compiler/patio/PatioCodeGenContext.java | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'src/main/java') 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 @@ -462,22 +462,6 @@ public record PatioCodeGenContext( return withFunctionContextResult(result); } - @CheckReturnValue - public PatioCodeGenResult 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 allocateVal( PatioCodeGenLocalSpace space, -- cgit v1.2.3