Package org.allspice.bytecode

Examples of org.allspice.bytecode.TypeCode


   * @param src
   * @param s_dst
   */
  public static void createConversion(InstructionListContext ilc,
      TypeCode src, TypeName s_dst) {
    TypeCode dst = TypeCode.getType(s_dst) ;
    switch(src) {
    case VOID:
      convertFromVoid(ilc, dst);
      return;
    case ARRAY:
View Full Code Here


    }
  }
  private static final class IfGreaterThanEq0Converter implements
      InstConverter<IfGreaterThanEq0> {
    public void convertInst(final IfGreaterThanEq0 t, InstructionListContext ilc) {
      TypeCode type = t.type ;
      createCMP0(ilc,type,new IFGE(null),t.mark) ;
    }
View Full Code Here

    }
  }
  private static final class IfGreaterThan0Converter implements
      InstConverter<IfGreaterThan0> {
    public void convertInst(final IfGreaterThan0 t, InstructionListContext ilc) {
      TypeCode type = t.type ;
      createCMP0(ilc,type,new IFGT(null),t.mark) ;
    }
View Full Code Here

    }
  }
  private static final class IfLessThanEq0Converter implements
      InstConverter<IfLessThanEq0> {
    public void convertInst(final IfLessThanEq0 t, InstructionListContext ilc) {
      TypeCode type = t.type ;
      createCMP0(ilc,type,new IFLE(null),t.mark) ;
    }
View Full Code Here

    }
  }
  private static final class IfLessThan0Converter implements
      InstConverter<IfLessThan0> {
    public void convertInst(final IfLessThan0 t, InstructionListContext ilc) {
      TypeCode type = t.type ;
      createCMP0(ilc,type,new IFLT(null),t.mark) ;
    }
View Full Code Here

    }
  }
  private static final class IfNotEquals0Converter implements
      InstConverter<IfNotEquals0> {
    public void convertInst(final IfNotEquals0 t, InstructionListContext ilc) {
      TypeCode type = t.type ;
      createIFNE0(ilc,type,t.mark);
    }
View Full Code Here

    }
  }
  private static final class IfEquals0Converter implements
      InstConverter<IfEquals0> {
    public void convertInst(final IfEquals0 t, InstructionListContext ilc) {
      TypeCode type = t.type ;
      createIFEQ0(ilc, type,t.mark);
    }
View Full Code Here

    }
  }
  private static final class IfGreaterThanEqConverter implements
      InstConverter<IfGreaterThanEq> {
    public void convertInst(final IfGreaterThanEq t, InstructionListContext ilc) {
      TypeCode type = t.type ;
      createIfTest(ilc,type,new IF_ICMPGE(null),new IFGE(null),t.mark) ;
    }
View Full Code Here

    }
  }
  private static final class IfGreaterThanConverter implements
      InstConverter<IfGreaterThan> {
    public void convertInst(final IfGreaterThan t, InstructionListContext ilc) {
      TypeCode type = t.type ;
      createIfTest(ilc,type,new IF_ICMPGT(null),new IFGT(null),t.mark) ;
    }
View Full Code Here

    }
  }
  private static final class IfLessthanEqConverter implements
      InstConverter<IfLessThanEq> {
    public void convertInst(final IfLessThanEq t, InstructionListContext ilc) {
      TypeCode type = t.type ;
      createIfTest(ilc,type,new IF_ICMPLE(null),new IFLE(null),t.mark) ;
    }
View Full Code Here

TOP

Related Classes of org.allspice.bytecode.TypeCode

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.