JVM IR: Cache SAM wrappers in top-level classes and use proper naming scheme

This commit is contained in:
Steven Schäfer
2019-08-15 14:33:34 +02:00
committed by max-kammerer
parent 2be4abe9a6
commit d89d68e3df
10 changed files with 122 additions and 127 deletions
@@ -45,7 +45,7 @@ import static org.jetbrains.kotlin.resolve.jvm.AsmTypes.OBJECT_TYPE;
import static org.jetbrains.org.objectweb.asm.Opcodes.*;
public class SamWrapperCodegen {
private static final String FUNCTION_FIELD_NAME = "function";
public static final String FUNCTION_FIELD_NAME = "function";
private final GenerationState state;
private final boolean isInsideInline;