@Nonnull private BuilderInstruction20t newBuilderInstruction20t(int codeAddress, int[] codeAddressToIndex, @Nonnull Instruction20t instruction) { return new BuilderInstruction20t( instruction.getOpcode(), newLabel(codeAddressToIndex, codeAddress + instruction.getCodeOffset())); }
public static ImmutableInstruction20t of(Instruction20t instruction) { if (instruction instanceof ImmutableInstruction20t) { return (ImmutableInstruction20t)instruction; } return new ImmutableInstruction20t( instruction.getOpcode(), instruction.getCodeOffset()); }
public static ImmutableInstruction20t of(Instruction20t instruction) { if (instruction instanceof ImmutableInstruction20t) { return (ImmutableInstruction20t)instruction; } return new ImmutableInstruction20t( instruction.getOpcode(), instruction.getCodeOffset()); }
@Nonnull private BuilderInstruction20t newBuilderInstruction20t(int codeAddress, int[] codeAddressToIndex, @Nonnull Instruction20t instruction) { return new BuilderInstruction20t( instruction.getOpcode(), newLabel(codeAddressToIndex, codeAddress + instruction.getCodeOffset())); }
@Nonnull private BuilderInstruction20t newBuilderInstruction20t(int codeAddress, int[] codeAddressToIndex, @Nonnull Instruction20t instruction) { return new BuilderInstruction20t( instruction.getOpcode(), newLabel(codeAddressToIndex, codeAddress + instruction.getCodeOffset())); }
@Nonnull private BuilderInstruction20t newBuilderInstruction20t(int codeAddress, int[] codeAddressToIndex, @Nonnull Instruction20t instruction) { return new BuilderInstruction20t( instruction.getOpcode(), newLabel(codeAddressToIndex, codeAddress + instruction.getCodeOffset())); }
@Nonnull private BuilderInstruction20t newBuilderInstruction20t(int codeAddress, int[] codeAddressToIndex, @Nonnull Instruction20t instruction) { return new BuilderInstruction20t( instruction.getOpcode(), newLabel(codeAddressToIndex, codeAddress + instruction.getCodeOffset())); }
public static ImmutableInstruction20t of(Instruction20t instruction) { if (instruction instanceof ImmutableInstruction20t) { return (ImmutableInstruction20t)instruction; } return new ImmutableInstruction20t( instruction.getOpcode(), instruction.getCodeOffset()); }
public void write(@Nonnull Instruction20t instruction) { try { writer.write(instruction.getOpcode().value); writer.write(0); writer.writeShort(instruction.getCodeOffset()); } catch (IOException ex) { throw new RuntimeException(ex); } }
public void write(@Nonnull Instruction20t instruction) { try { writer.write(getOpcodeValue(instruction.getOpcode())); writer.write(0); writer.writeShort(instruction.getCodeOffset()); } catch (IOException ex) { throw new RuntimeException(ex); } }
public void write(@Nonnull Instruction20t instruction) { try { writer.write(getOpcodeValue(instruction.getOpcode())); writer.write(0); writer.writeShort(instruction.getCodeOffset()); } catch (IOException ex) { throw new RuntimeException(ex); } }