@Nonnull private BuilderInstruction22b newBuilderInstruction22b(@Nonnull Instruction22b instruction) { return new BuilderInstruction22b( instruction.getOpcode(), instruction.getRegisterA(), instruction.getRegisterB(), instruction.getNarrowLiteral()); }
@Nonnull private BuilderInstruction22b newBuilderInstruction22b(@Nonnull Instruction22b instruction) { return new BuilderInstruction22b( instruction.getOpcode(), instruction.getRegisterA(), instruction.getRegisterB(), instruction.getNarrowLiteral()); }
@Nonnull private BuilderInstruction22b newBuilderInstruction22b(@Nonnull Instruction22b instruction) { return new BuilderInstruction22b( instruction.getOpcode(), instruction.getRegisterA(), instruction.getRegisterB(), instruction.getNarrowLiteral()); }
@Nonnull private BuilderInstruction22b newBuilderInstruction22b(@Nonnull Instruction22b instruction) { return new BuilderInstruction22b( instruction.getOpcode(), instruction.getRegisterA(), instruction.getRegisterB(), instruction.getNarrowLiteral()); }
@Nonnull private BuilderInstruction22b newBuilderInstruction22b(@Nonnull Instruction22b instruction) { return new BuilderInstruction22b( instruction.getOpcode(), instruction.getRegisterA(), instruction.getRegisterB(), instruction.getNarrowLiteral()); }
public static ImmutableInstruction22b of(Instruction22b instruction) { if (instruction instanceof ImmutableInstruction22b) { return (ImmutableInstruction22b)instruction; } return new ImmutableInstruction22b( instruction.getOpcode(), instruction.getRegisterA(), instruction.getRegisterB(), instruction.getNarrowLiteral()); }
public void write(@Nonnull Instruction22b instruction) { try { writer.write(instruction.getOpcode().value); writer.write(instruction.getRegisterA()); writer.write(instruction.getRegisterB()); writer.write(instruction.getNarrowLiteral()); } catch (IOException ex) { throw new RuntimeException(ex); } }
public static ImmutableInstruction22b of(Instruction22b instruction) { if (instruction instanceof ImmutableInstruction22b) { return (ImmutableInstruction22b)instruction; } return new ImmutableInstruction22b( instruction.getOpcode(), instruction.getRegisterA(), instruction.getRegisterB(), instruction.getNarrowLiteral()); }
public static ImmutableInstruction22b of(Instruction22b instruction) { if (instruction instanceof ImmutableInstruction22b) { return (ImmutableInstruction22b)instruction; } return new ImmutableInstruction22b( instruction.getOpcode(), instruction.getRegisterA(), instruction.getRegisterB(), instruction.getNarrowLiteral()); }
public void write(@Nonnull Instruction22b instruction) { try { writer.write(getOpcodeValue(instruction.getOpcode())); writer.write(instruction.getRegisterA()); writer.write(instruction.getRegisterB()); writer.write(instruction.getNarrowLiteral()); } catch (IOException ex) { throw new RuntimeException(ex); } }
public void write(@Nonnull Instruction22b instruction) { try { writer.write(getOpcodeValue(instruction.getOpcode())); writer.write(instruction.getRegisterA()); writer.write(instruction.getRegisterB()); writer.write(instruction.getNarrowLiteral()); } catch (IOException ex) { throw new RuntimeException(ex); } }
Literal lit = new Literal.LongLiteral(((Instruction22b)inst).getWideLiteral()); instructions.add(new BinaryLiteralOperation(instLoc, BinaryLiteralOperation.OpID.ADD_INT, ((Instruction22b)inst).getRegisterA(), ((Instruction22b)inst).getRegisterB(), lit, inst.getOpcode(), this)); break; Literal lit = new Literal.LongLiteral(((Instruction22b)inst).getWideLiteral()); instructions.add(new BinaryLiteralOperation(instLoc, BinaryLiteralOperation.OpID.RSUB_INT, ((Instruction22b)inst).getRegisterA(), ((Instruction22b)inst).getRegisterB(), lit, inst.getOpcode(), this)); break; Literal lit = new Literal.LongLiteral(((Instruction22b)inst).getWideLiteral()); instructions.add(new BinaryLiteralOperation(instLoc, BinaryLiteralOperation.OpID.MUL_INT, ((Instruction22b)inst).getRegisterA(), ((Instruction22b)inst).getRegisterB(), lit, inst.getOpcode(), this)); break; Literal lit = new Literal.LongLiteral(((Instruction22b)inst).getWideLiteral()); instructions.add(new BinaryLiteralOperation(instLoc, BinaryLiteralOperation.OpID.DIV_INT, ((Instruction22b)inst).getRegisterA(), ((Instruction22b)inst).getRegisterB(), lit, inst.getOpcode(), this)); break; Literal lit = new Literal.LongLiteral(((Instruction22b)inst).getWideLiteral()); instructions.add(new BinaryLiteralOperation(instLoc, BinaryLiteralOperation.OpID.REM_INT, ((Instruction22b)inst).getRegisterA(), ((Instruction22b)inst).getRegisterB(), lit, inst.getOpcode(), this)); break; Literal lit = new Literal.LongLiteral(((Instruction22b)inst).getWideLiteral()); instructions.add(new BinaryLiteralOperation(instLoc, BinaryLiteralOperation.OpID.AND_INT, ((Instruction22b)inst).getRegisterA(), ((Instruction22b)inst).getRegisterB(), lit, inst.getOpcode(), this)); break;
Literal lit = new Literal.LongLiteral(((Instruction22b)inst).getWideLiteral()); instructions.add(new BinaryLiteralOperation(instLoc, BinaryLiteralOperation.OpID.ADD_INT, ((Instruction22b)inst).getRegisterA(), ((Instruction22b)inst).getRegisterB(), lit, inst.getOpcode(), this)); break; Literal lit = new Literal.LongLiteral(((Instruction22b)inst).getWideLiteral()); instructions.add(new BinaryLiteralOperation(instLoc, BinaryLiteralOperation.OpID.RSUB_INT, ((Instruction22b)inst).getRegisterA(), ((Instruction22b)inst).getRegisterB(), lit, inst.getOpcode(), this)); break; Literal lit = new Literal.LongLiteral(((Instruction22b)inst).getWideLiteral()); instructions.add(new BinaryLiteralOperation(instLoc, BinaryLiteralOperation.OpID.MUL_INT, ((Instruction22b)inst).getRegisterA(), ((Instruction22b)inst).getRegisterB(), lit, inst.getOpcode(), this)); break; Literal lit = new Literal.LongLiteral(((Instruction22b)inst).getWideLiteral()); instructions.add(new BinaryLiteralOperation(instLoc, BinaryLiteralOperation.OpID.DIV_INT, ((Instruction22b)inst).getRegisterA(), ((Instruction22b)inst).getRegisterB(), lit, inst.getOpcode(), this)); break; Literal lit = new Literal.LongLiteral(((Instruction22b)inst).getWideLiteral()); instructions.add(new BinaryLiteralOperation(instLoc, BinaryLiteralOperation.OpID.REM_INT, ((Instruction22b)inst).getRegisterA(), ((Instruction22b)inst).getRegisterB(), lit, inst.getOpcode(), this)); break; Literal lit = new Literal.LongLiteral(((Instruction22b)inst).getWideLiteral()); instructions.add(new BinaryLiteralOperation(instLoc, BinaryLiteralOperation.OpID.AND_INT, ((Instruction22b)inst).getRegisterA(), ((Instruction22b)inst).getRegisterB(), lit, inst.getOpcode(), this)); break;