From 425215f14292240d720921e0688d5f42564eb9b0 Mon Sep 17 00:00:00 2001 From: ice1000 Date: Tue, 17 Dec 2024 15:50:35 -0500 Subject: [PATCH] jit: delete unused function --- .../aya/compiler/serializers/AbstractExprializer.java | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/jit-compiler/src/main/java/org/aya/compiler/serializers/AbstractExprializer.java b/jit-compiler/src/main/java/org/aya/compiler/serializers/AbstractExprializer.java index 54977f292..1242431a8 100644 --- a/jit-compiler/src/main/java/org/aya/compiler/serializers/AbstractExprializer.java +++ b/jit-compiler/src/main/java/org/aya/compiler/serializers/AbstractExprializer.java @@ -105,16 +105,6 @@ public abstract class AbstractExprializer { return builder.checkcast(result, elementType); } - public static @NotNull FreeJavaExpr makeFunctionApply( - @NotNull FreeExprBuilder builder, - @NotNull ClassDesc returnType, - @NotNull FreeJavaExpr theFunction, - @NotNull FreeJavaExpr theArg - ) { - var result = builder.invoke(Constants.FUNCTION, theFunction, ImmutableSeq.of(theArg)); - return builder.checkcast(result, returnType); - } - /** * Actually perform serialization, unlike {@link #serialize} * which will perform some initialization after a {@code T} is obtained.