mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -08:00
Upgrade to ASM5 API
This commit is contained in:
parent
358766d5f6
commit
7b029d024c
|
@ -32,7 +32,7 @@ class JCLComparisonVisitor extends ClassVisitor {
|
|||
private JCLClass jclClass;
|
||||
|
||||
public JCLComparisonVisitor(ClassReaderSource classSource, Map<String, JCLPackage> packageMap) {
|
||||
super(Opcodes.ASM4);
|
||||
super(Opcodes.ASM5);
|
||||
this.classSource = classSource;
|
||||
this.packageMap = packageMap;
|
||||
}
|
||||
|
|
|
@ -367,7 +367,7 @@ public class ProgramParser implements VariableDebugInformation {
|
|||
}
|
||||
|
||||
// TODO: invokedynamic support (a great task, involving not only parser, but every layer of TeaVM)
|
||||
private MethodVisitor methodVisitor = new MethodVisitor(Opcodes.ASM4) {
|
||||
private MethodVisitor methodVisitor = new MethodVisitor(Opcodes.ASM5) {
|
||||
@Override
|
||||
public void visitVarInsn(int opcode, int local) {
|
||||
switch (opcode) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user