Package org.objectweb.asm.commons

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


    //queryImpl = parent.getQueryImpl();
   
    int current=adapter.newLocal(Types.INT_VALUE);
    adapter.loadLocal(tag.getNumberIterator());
    adapter.invokeVirtual(NUMBER_ITERATOR, CURRENT);
    adapter.storeLocal(current);
   
   
    // inner current
    int icurrent=adapter.newLocal(Types.INT_VALUE);
   
View Full Code Here


    int icurrent=adapter.newLocal(Types.INT_VALUE);
   
    adapter.loadLocal(current);
    adapter.push(1);
    adapter.visitInsn(Opcodes.ISUB);
    adapter.storeLocal(icurrent);
   
   
   
    WhileVisitor wv = new WhileVisitor();
    if(tag instanceof TagLoop) ((TagLoop)tag).setLoopVisitor(wv);
View Full Code Here

      adapter.visitLabel(_if);
   
      // current=ni.current();
      adapter.loadLocal(tag.getNumberIterator());
      adapter.invokeVirtual(NUMBER_ITERATOR, CURRENT);
      adapter.storeLocal(icurrent);
     
      tag.getBody().writeOut(bc);
     
      // ni.setCurrent(current+1);
      /*adapter.loadLocal(tag.getNumberIterator());
 
View Full Code Here

   
    //int currentOuter=ni.current();
    int current=adapter.newLocal(Types.INT_VALUE);
    adapter.loadLocal(tag.getNumberIterator());
    adapter.invokeVirtual(NUMBER_ITERATOR, CURRENT);
    adapter.storeLocal(current);
   
    // current
    int icurrent=adapter.newLocal(Types.INT_VALUE);
   
    adapter.loadLocal(current);
View Full Code Here

    int icurrent=adapter.newLocal(Types.INT_VALUE);
   
    adapter.loadLocal(current);
    adapter.push(1);
    adapter.visitInsn(Opcodes.ISUB);
    adapter.storeLocal(icurrent);
   
   
    WhileVisitor wv = new WhileVisitor();
    if(tag instanceof TagLoop) ((TagLoop)tag).setLoopVisitor(wv);
    wv.visitBeforeExpression(bc);
View Full Code Here

      adapter.visitLabel(_if);
   
      // current=ni.current();
      adapter.loadLocal(tag.getNumberIterator());
      adapter.invokeVirtual(NUMBER_ITERATOR, CURRENT);
      adapter.storeLocal(icurrent);
     
      tag.getBody().writeOut(bc);
     
      // ni.setCurrent(current+1);
      /*adapter.loadLocal(tag.getNumberIterator());
 
View Full Code Here

    if(val instanceof LitString)
      adapter.invokeVirtual(Types.PAGE_CONTEXT, TagLoop.GET_QUERY_STRING);
    else
      adapter.invokeVirtual(Types.PAGE_CONTEXT, TagLoop.GET_QUERY_OBJ);
   
    adapter.storeLocal(tag.getQuery());
   
   
    tag.setPID(adapter.newLocal(Types.INT_VALUE));
    adapter.loadArg(0);
    adapter.invokeVirtual(Types.PAGE_CONTEXT, TagLoop.GET_ID);
View Full Code Here

   
   
    tag.setPID(adapter.newLocal(Types.INT_VALUE));
    adapter.loadArg(0);
    adapter.invokeVirtual(Types.PAGE_CONTEXT, TagLoop.GET_ID);
    adapter.storeLocal(tag.getPID());
   

   
    // int startAt=query.getCurrentrow();
    final int startAt=adapter.newLocal(Types.INT_VALUE);
View Full Code Here

    adapter.loadLocal(tag.getPID());
    //adapter.loadArg(0);
    //adapter.invokeVirtual(Types.PAGE_CONTEXT, TagLoop.GET_ID);
    adapter.invokeInterface(Types.QUERY, TagLoop.GET_CURRENTROW_1);
   
    adapter.storeLocal(startAt);
   
   
   
    // if(query.getRecordcount()>0) {
    DecisionIntVisitor div=new DecisionIntVisitor();
View Full Code Here

        //adapter.visitInsn(Opcodes.D2I);
      }
      else {
        adapter.push(1);
      }
      adapter.storeLocal(from);
     
      // numberIterator
     
     
      adapter.loadLocal(from);
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.