Examples of insU2()


Examples of objot.bytecode.Instruction.insU2()

        s.insU1(ALOAD, 4); // object
        if (e.field != null)
          s.insU2(GETFIELD, p.cons.addField(e.field));
        else
          s.insU2(INVOKEVIRTUAL, p.cons.addProc(e.method));
        s.insU2(INVOKEVIRTUAL, refsCi);
        s.jumpHere(if0);
      }
    s.ins0(RETURN);
    p.getCode().setIns(s, false);
    p.getCode().setLocalN(5);
View Full Code Here

Examples of objot.bytecode.Instruction.insU2()

    p.setModifier(Mod2.PROTECTED | Mod2.FINAL);
    p.setNameCi(p.cons.addUtf(NAME_encode));
    p.setDescCi(p.cons.addUtf(DESC_encode));
    Instruction s = new Instruction(y.cons, 250);
    s.ins0(ALOAD2);
    s.insU2(CHECKCAST, classCi);
    s.insU1(ASTORE, 4); // object
    s.ins0(ALOAD0);
    s.insU2(GETFIELD, encsCi); // properties
    int intCi = p.cons.addProc(Encoder.M_valueInt);
    int longCi = p.cons.addProc(Encoder.M_valueLong);
View Full Code Here

Examples of objot.bytecode.Instruction.insU2()

    Instruction s = new Instruction(y.cons, 250);
    s.ins0(ALOAD2);
    s.insU2(CHECKCAST, classCi);
    s.insU1(ASTORE, 4); // object
    s.ins0(ALOAD0);
    s.insU2(GETFIELD, encsCi); // properties
    int intCi = p.cons.addProc(Encoder.M_valueInt);
    int longCi = p.cons.addProc(Encoder.M_valueLong);
    int boolCi = p.cons.addProc(Encoder.M_valueBool);
    int floatCi = p.cons.addProc(Encoder.M_valueFloat);
    int doubleCi = p.cons.addProc(Encoder.M_valueDouble);
View Full Code Here

Examples of objot.bytecode.Instruction.insU2()

      s.ins0(AALOAD); // property
      s.ins0(DUP); // property
      s.insU1(ASTORE, 5); // property
      s.ins0(ALOAD2);
      s.ins0(ALOAD3);
      s.insU2(INVOKEVIRTUAL, ableCi);
      int if0 = s.insJump(IFIE0);
      s.ins0(ALOAD1);
      s.insU1(ALOAD, 5); // property
      s.insU2(GETFIELD, nameCi);
      s.insU1(ALOAD, 4); // object
View Full Code Here

Examples of objot.bytecode.Instruction.insU2()

      s.ins0(ALOAD3);
      s.insU2(INVOKEVIRTUAL, ableCi);
      int if0 = s.insJump(IFIE0);
      s.ins0(ALOAD1);
      s.insU1(ALOAD, 5); // property
      s.insU2(GETFIELD, nameCi);
      s.insU1(ALOAD, 4); // object
      if ((e = es[i]).field != null)
        s.insU2(GETFIELD, p.cons.addField(e.field));
      else
        s.insU2(INVOKEVIRTUAL, p.cons.addProc(e.method));
View Full Code Here

Examples of objot.bytecode.Instruction.insU2()

      s.ins0(ALOAD1);
      s.insU1(ALOAD, 5); // property
      s.insU2(GETFIELD, nameCi);
      s.insU1(ALOAD, 4); // object
      if ((e = es[i]).field != null)
        s.insU2(GETFIELD, p.cons.addField(e.field));
      else
        s.insU2(INVOKEVIRTUAL, p.cons.addProc(e.method));
      if (e.cla == int.class || e.cla == byte.class || e.cla == short.class)
        s.insU2(INVOKEVIRTUAL, intCi);
      else if (e.cla == long.class)
View Full Code Here

Examples of objot.bytecode.Instruction.insU2()

      s.insU2(GETFIELD, nameCi);
      s.insU1(ALOAD, 4); // object
      if ((e = es[i]).field != null)
        s.insU2(GETFIELD, p.cons.addField(e.field));
      else
        s.insU2(INVOKEVIRTUAL, p.cons.addProc(e.method));
      if (e.cla == int.class || e.cla == byte.class || e.cla == short.class)
        s.insU2(INVOKEVIRTUAL, intCi);
      else if (e.cla == long.class)
        s.insU2(INVOKEVIRTUAL, longCi);
      else if (e.cla == boolean.class)
View Full Code Here

Examples of objot.bytecode.Instruction.insU2()

      if ((e = es[i]).field != null)
        s.insU2(GETFIELD, p.cons.addField(e.field));
      else
        s.insU2(INVOKEVIRTUAL, p.cons.addProc(e.method));
      if (e.cla == int.class || e.cla == byte.class || e.cla == short.class)
        s.insU2(INVOKEVIRTUAL, intCi);
      else if (e.cla == long.class)
        s.insU2(INVOKEVIRTUAL, longCi);
      else if (e.cla == boolean.class)
        s.insU2(INVOKEVIRTUAL, boolCi);
      else if (e.cla == float.class)
View Full Code Here

Examples of objot.bytecode.Instruction.insU2()

      else
        s.insU2(INVOKEVIRTUAL, p.cons.addProc(e.method));
      if (e.cla == int.class || e.cla == byte.class || e.cla == short.class)
        s.insU2(INVOKEVIRTUAL, intCi);
      else if (e.cla == long.class)
        s.insU2(INVOKEVIRTUAL, longCi);
      else if (e.cla == boolean.class)
        s.insU2(INVOKEVIRTUAL, boolCi);
      else if (e.cla == float.class)
        s.insU2(INVOKEVIRTUAL, floatCi);
      else if (e.cla == double.class)
View Full Code Here

Examples of objot.bytecode.Instruction.insU2()

      if (e.cla == int.class || e.cla == byte.class || e.cla == short.class)
        s.insU2(INVOKEVIRTUAL, intCi);
      else if (e.cla == long.class)
        s.insU2(INVOKEVIRTUAL, longCi);
      else if (e.cla == boolean.class)
        s.insU2(INVOKEVIRTUAL, boolCi);
      else if (e.cla == float.class)
        s.insU2(INVOKEVIRTUAL, floatCi);
      else if (e.cla == double.class)
        s.insU2(INVOKEVIRTUAL, doubleCi);
      else if (e.cla == Integer.class)
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.