public boolean equalsInstruction(Instruction other) { if (this == other) return true; if (!(other instanceof IIncInstruction)) return false; if (!super.equalsInstruction(other)) return false; IIncInstruction ins = (IIncInstruction) other; return getIncrement() == 0 || ins.getIncrement() == 0 || getIncrement() == ins.getIncrement(); }
public boolean equalsInstruction(Instruction other) { if (this == other) return true; if (!(other instanceof IIncInstruction)) return false; if (!super.equalsInstruction(other)) return false; IIncInstruction ins = (IIncInstruction) other; return getIncrement() == 0 || ins.getIncrement() == 0 || getIncrement() == ins.getIncrement(); }
public void enterIIncInstruction(IIncInstruction obj) { _out.print(obj.getLocal() + " "); if (obj.getIncrement() < 0) _out.print("-"); _out.print(obj.getIncrement()); }
public void enterIIncInstruction(IIncInstruction obj) { _out.print(obj.getLocal() + " "); if (obj.getIncrement() < 0) _out.print("-"); _out.print(obj.getIncrement()); }
void read(Instruction other) { super.read(other); _inc = ((IIncInstruction) other).getIncrement(); }
void read(Instruction other) { super.read(other); _inc = ((IIncInstruction) other).getIncrement(); }
/** * Set the type of instruction this wide instruction modifies. */ public WideInstruction setInstruction(Instruction ins) { if (ins == null) return setInstruction(Constants.NOP); setInstruction(ins.getOpcode()); if (_ins == Constants.IINC) _inc = ((IIncInstruction) ins).getIncrement(); return this; }
/** * Set the type of instruction this wide instruction modifies. */ public WideInstruction setInstruction(Instruction ins) { if (ins == null) return setInstruction(Constants.NOP); setInstruction(ins.getOpcode()); if (_ins == Constants.IINC) _inc = ((IIncInstruction) ins).getIncrement(); return this; }