Package org.objectweb.asm.commons

Examples of org.objectweb.asm.commons.GeneratorAdapter.ifZCmp()


      adapter.loadLocal(tag.getPID());
      adapter.invokeInterface(Types.QUERY, TagLoop.GO);
     
      NotVisitor.visitNot(bc);
      Label _if=new Label();
      adapter.ifZCmp(Opcodes.IFEQ, _if);
        wv.visitBreak(bc);
      adapter.visitLabel(_if);
   
      // current=ni.current();
      adapter.loadLocal(tag.getNumberIterator());
View Full Code Here


      adapter.invokeInterface(Types.QUERY, GET_RECORDCOUNT);
    div.visitGT();
      adapter.push(0);
    div.visitEnd(bc);
    Label ifRecCount=new Label();
    adapter.ifZCmp(Opcodes.IFEQ, ifRecCount);
     
      // startrow
      int from = adapter.newLocal(Types.INT_VALUE);
      Attribute attrStartRow = tag.getAttribute("startrow");
      if(attrStartRow!=null){
View Full Code Here

          adapter.loadLocal(tag.getPID());
          adapter.invokeInterface(Types.QUERY, TagLoop.GO);
         
          NotVisitor.visitNot(bc);
          Label _if=new Label();
          adapter.ifZCmp(Opcodes.IFEQ, _if);
            wv.visitBreak(bc);
          adapter.visitLabel(_if);
         
          if(attrGroup!=null) {
            // NumberIterator oldNi=numberIterator;
View Full Code Here

      adapter.invokeVirtual(Types.PAGE_CONTEXT, GET_ID);
      adapter.invokeInterface(Types.QUERY, TagLoop.GO);
     
      NotVisitor.visitNot(bc);
      Label _if=new Label();
      adapter.ifZCmp(Opcodes.IFEQ, _if);
        wv.visitBreak(bc);
      adapter.visitLabel(_if);
   
      // NumberIterator oldNi=numberIterator;
      int oldNi=adapter.newLocal(NUMBER_ITERATOR);
View Full Code Here

   
    adapter.visitLabel(beforeEnd);
   
   
    expr.writeOut(bc, Expression.MODE_VALUE);
    adapter.ifZCmp(Opcodes.IFNE, begin);
   
    adapter.visitLabel(end);
   
  }
View Full Code Here

        //if(fcf!=null && fcf.getAfterFinalGOTOLabel()!=null)ASMUtil.visitLabel(adapter,fcf.getFinalEntryLabel());
        // if(!silentMode)pc.unsetSilent();
        Label _if=new Label();
        adapter.loadLocal(silentMode);
        NotVisitor.visitNot(bc);
        adapter.ifZCmp(Opcodes.IFEQ, _if);
          adapter.loadArg(0);
          adapter.invokeVirtual(Types.PAGE_CONTEXT, UNSET_SILENT);
          adapter.pop();
       
        adapter.visitLabel(_if);
View Full Code Here

   
    Label endIf = new Label();
       
    ExpressionUtil.visitLine(bc, tag.getStart());
        cont.writeOut(bc,Expression.MODE_VALUE);
        adapter.ifZCmp(Opcodes.IFEQ, endIf);
        return endIf;
  }
  private static void writeOutElseIfEnd(GeneratorAdapter adapter, Label endIf, Label end) {

        adapter.visitJumpInsn(Opcodes.GOTO, end);
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.