InvokeOperator has new constructor syntax

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1182 379699f6-c40d-0410-875b-85095c16579e
branch_1_1
jochen 26 years ago
parent cab4f7495d
commit 6885078d96
  1. 9
      jode/jode/decompiler/Opcodes.java

@ -331,10 +331,13 @@ public abstract class Opcodes implements jode.bytecode.Opcodes {
case opc_invokestatic :
case opc_invokeinterface: {
Reference ref = instr.getReference();
int flag = (ref.getName().equals("<init>")
? InvokeOperator.CONSTRUCTOR
: opcode == opc_invokestatic ? InvokeOperator.STATIC
: opcode == opc_invokespecial ? InvokeOperator.SPECIAL
: InvokeOperator.VIRTUAL);
StructuredBlock block = createNormal
(ma, instr, new InvokeOperator
(ma, opcode == opc_invokestatic,
opcode == opc_invokespecial, ref));
(ma, instr, new InvokeOperator(ma, flag, ref));
return block;
}
case opc_new: {

Loading…
Cancel
Save