Remove pool entry pool reference

This commit is contained in:
Adam
2015-07-07 12:49:37 -04:00
parent be127c55cb
commit c92387e089
18 changed files with 78 additions and 94 deletions

View File

@@ -147,7 +147,7 @@ public class InvokeInterface extends Instruction implements InvokeInstruction
sig.remove(idx);
// create new method pool object
method = new InterfaceMethod(method.getPool(), clazz, new NameAndType(nat.getPool(), nat.getName(), sig));
method = new InterfaceMethod(clazz, new NameAndType(nat.getName(), sig));
}
@Override

View File

@@ -139,7 +139,7 @@ public class InvokeSpecial extends Instruction implements InvokeInstruction
sig.remove(idx);
// create new method pool object
method = new Method(method.getPool(), clazz, new NameAndType(nat.getPool(), nat.getName(), sig));
method = new Method(clazz, new NameAndType(nat.getName(), sig));
}
@Override

View File

@@ -136,7 +136,7 @@ public class InvokeStatic extends Instruction implements InvokeInstruction
sig.remove(idx);
// create new method pool object
method = new Method(method.getPool(), clazz, new NameAndType(nat.getPool(), nat.getName(), sig));
method = new Method(clazz, new NameAndType(nat.getName(), sig));
}
@Override

View File

@@ -146,7 +146,7 @@ public class InvokeVirtual extends Instruction implements InvokeInstruction
sig.remove(idx);
// create new method pool object
method = new Method(method.getPool(), clazz, new NameAndType(nat.getPool(), nat.getName(), sig));
method = new Method(clazz, new NameAndType(nat.getName(), sig));
}
@Override