public static void writeInstruction(final ITextOutput writer, final Instruction instruction) { VerifyArgument.notNull(writer, "writer"); VerifyArgument.notNull(instruction, "instruction"); writer.writeDefinition(offsetToString(instruction.getOffset()), instruction); writer.write(": "); writer.writeReference(instruction.getOpCode().name(), instruction.getOpCode()); if (instruction.hasOperand()) { writer.write(' '); writeOperandList(writer, instruction); } }
public static void writeInstruction(final ITextOutput writer, final Instruction instruction) { VerifyArgument.notNull(writer, "writer"); VerifyArgument.notNull(instruction, "instruction"); writer.writeDefinition(offsetToString(instruction.getOffset()), instruction); writer.write(": "); writer.writeReference(instruction.getOpCode().name(), instruction.getOpCode()); if (instruction.hasOperand()) { writer.write(' '); writeOperandList(writer, instruction); } }
public static void writeInstruction(final ITextOutput writer, final Instruction instruction) { VerifyArgument.notNull(writer, "writer"); VerifyArgument.notNull(instruction, "instruction"); writer.writeDefinition(offsetToString(instruction.getOffset()), instruction); writer.write(": "); writer.writeReference(instruction.getOpCode().name(), instruction.getOpCode()); if (instruction.hasOperand()) { writer.write(' '); writeOperandList(writer, instruction); } }
Object operand = instruction.hasOperand() ? instruction.getOperand(0) : null;
Object operand = instruction.hasOperand() ? instruction.getOperand(0) : null;
Object operand = instruction.hasOperand() ? instruction.getOperand(0) : null;
if (!instruction.hasOperand()) { continue;
if (!instruction.hasOperand()) { continue;
if (!instruction.hasOperand()) { continue;
final Instruction instruction = body.get(i); final OpCode code = instruction.getOpCode(); final Object operand = instruction.hasOperand() ? instruction.getOperand(0) : null;
final Instruction instruction = body.get(i); final OpCode code = instruction.getOpCode(); final Object operand = instruction.hasOperand() ? instruction.getOperand(0) : null;
final Instruction instruction = body.get(i); final OpCode code = instruction.getOpCode(); final Object operand = instruction.hasOperand() ? instruction.getOperand(0) : null;