Пример #1
0
  public BSwapInst(Type fromType, Type toType) {

    if (fromType instanceof LongType || fromType instanceof DoubleType)
      throw new RuntimeException("fromType is LongType or DoubleType !");
    if (toType instanceof LongType || toType instanceof DoubleType)
      throw new RuntimeException("toType is LongType or DoubleType !");

    mFromType = Baf.getDescriptorTypeOf(fromType);
    mToType = Baf.getDescriptorTypeOf(toType);
  }