Package anvil.codec

Examples of anvil.codec.Code.pop()


    }
    code.pop();
    code.iconst(true);
    Source toend = code.go_to();
    isfalse.bind();
    code.pop();
    code.iconst(false);
    toend.bind();
    if (operation != GET_BOOLEAN) {
      context.boolean2any();
    }
View Full Code Here


        ConstantPool pool = code.getPool();
        left.compile(context, GET);
        code.dup();
        code.invokevirtual(pool.addMethodRef(context.TYPE_ANY, "isUndefined", "()Z"));
        Source isfalse = code.if_eq();
        code.pop();
        right.compile(context, GET);
        isfalse.bind();
      }
    });
  }
View Full Code Here

            Code code = context.getCode();
            code.aload(tmp);
            code.invokevirtual(code.getPool().addMethodRef(context.TYPE_ANY, "increase", "()Lanvil/core/Any;"));
          }     
        });
        code.pop();
        code.aload(tmp);
        code.endLocal(tmp);
      }
      break;
     
View Full Code Here

      Type type = (Type)e.nextElement();
      int typeid = type.getType();
      if (typeid == CLASS || typeid == INTERFACE) {
        code.getstatic(pool.addFieldRef(type.getTypeRef(pool),
          "_members", "[Ljava/lang/Object;"));
        code.pop();
      }
    }
    context.popCode();
  }
   
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.