Examples of insU2()


Examples of objot.bytecode.Instruction.insU2()

      s.switchTableHere(sw, i);
      for (int j = 1; j < cs.length; j++)
        if (cs[j].cla.hashCode() % 31 == i)
        {
          s.ins0(DUP); // class
          s.insU2(LDCW, cCis[j] = cons.addClass(cs[j].cla));
          s.insS2(IFAN, 7);
          s.insS2(SIPUSH, index(j));
          s.ins0(IRETURN);
        }
      s.ins0(ICONST0);
View Full Code Here

Examples of objot.bytecode.Instruction.insU2()

    int sw0 = s.addr;
    s.ins0(ACONSTNULL);
    s.ins0(ARETURN);

    int swObj = s.addr;
    s.insU2(GETSTATIC, ossCi);
    s.ins0(ILOAD1);
    s.ins0(AALOAD);
    s.ins0(ICONST0);
    s.ins0(AALOAD); // oss[i][0]
    s.ins0(ARETURN);
View Full Code Here

Examples of objot.bytecode.Instruction.insU2()

    s.ins0(AALOAD);
    s.ins0(ICONST0);
    s.ins0(AALOAD); // oss[i][0]
    s.ins0(ARETURN);
    int swObj_ = s.addr;
    s.insU2(GETSTATIC, ossCi);
    s.ins0(ILOAD1);
    s.ins0(INEG);
    s.ins0(AALOAD);
    s.ins0(ICONST0);
    s.ins0(AALOAD); // oss[-i][0]
View Full Code Here

Examples of objot.bytecode.Instruction.insU2()

    s.ins0(AALOAD);
    s.ins0(ICONST0);
    s.ins0(AALOAD); // oss[-i][0]
    s.ins0(ARETURN);
    int circle = s.addr;
    s.insU2(NEW, cons.addClass(ClassCircularityError.class));
    s.ins0(DUPI);
    s.ins0(SWAP);
    s.insU2(INVOKESPECIAL, cons.addProc(Class2.ctor(ClassCircularityError.class,
      String.class)));
    s.ins0(ATHROW);
View Full Code Here

Examples of objot.bytecode.Instruction.insU2()

    s.ins0(ARETURN);
    int circle = s.addr;
    s.insU2(NEW, cons.addClass(ClassCircularityError.class));
    s.ins0(DUPI);
    s.ins0(SWAP);
    s.insU2(INVOKESPECIAL, cons.addProc(Class2.ctor(ClassCircularityError.class,
      String.class)));
    s.ins0(ATHROW);

    int maxParamN = 0;
    for (int i = 1; i < csn; i++) // always actual bind
View Full Code Here

Examples of objot.bytecode.Instruction.insU2()

      {
        s.switchTableHere(sw, i0 + i);
        if (c.mode == Single.class)
        {
          s.ins0(DUP);
          s.insU2(GETFIELD, fCis[i]);
          s.ins0(DUP);
          int j = s.insJump(IFNULL);
          s.ins0(ARETURN);
          s.jumpHere(j);
          s.ins0(POP);
View Full Code Here

Examples of objot.bytecode.Instruction.insU2()

          s.ins0(ARETURN);
          s.jumpHere(j);
          s.ins0(POP);
        }
        s.switchTableHere(sw, i0 - i);
        s.insU2(NEW, cons.putClass(c.cla));
        s.ins0(DUP);
        int x = 1;
        for (int cb = 0; cb < c.t.ps.length; cb++)
          x = makeGet0_fp(i, s, c.t.ps[cb], oss[i], x);
        s.insU2(INVOKESPECIAL, cons.putProc(c.t.t));
View Full Code Here

Examples of objot.bytecode.Instruction.insU2()

        s.insU2(NEW, cons.putClass(c.cla));
        s.ins0(DUP);
        int x = 1;
        for (int cb = 0; cb < c.t.ps.length; cb++)
          x = makeGet0_fp(i, s, c.t.ps[cb], oss[i], x);
        s.insU2(INVOKESPECIAL, cons.putProc(c.t.t));
        if (c.mode == Single.class)
        {
          s.ins0(ILOAD1);
          int j = s.insJump(IFIL0);
          if (c.t.ps.length > 0)
View Full Code Here

Examples of objot.bytecode.Instruction.insU2()

          s.ins0(ILOAD1);
          int j = s.insJump(IFIL0);
          if (c.t.ps.length > 0)
          { // never happen if ctor no parameter
            s.ins0(ALOAD0);
            s.insU2(GETFIELD, fCis[i]);
            int jj = s.insJump(IFNULL);
            s.insU2(LDCW, cons.addString(c.cla.getName()));
            s.jump(s.insJump(GOTO), circle);
            s.jumpHere(jj);
          }
View Full Code Here

Examples of objot.bytecode.Instruction.insU2()

          if (c.t.ps.length > 0)
          { // never happen if ctor no parameter
            s.ins0(ALOAD0);
            s.insU2(GETFIELD, fCis[i]);
            int jj = s.insJump(IFNULL);
            s.insU2(LDCW, cons.addString(c.cla.getName()));
            s.jump(s.insJump(GOTO), circle);
            s.jumpHere(jj);
          }
          s.ins0(DUP);
          s.ins0(ALOAD0);
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.