Examples of storeLocal()


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

    tcf.visitTryBegin(bc);
      // oldData=c.beforeCall(pc);
      adapter.loadArg(1);
      adapter.loadArg(0);
      adapter.invokeVirtual(Types.COMPONENT_IMPL, BEFORE_CALL);
      adapter.storeLocal(oldData);
      ExpressionUtil.visitLine(bc, component.getStart());
      writeOutCallBody(bc,component.getBody(),IFunction.PAGE_TYPE_COMPONENT);
      ExpressionUtil.visitLine(bc, component.getEnd());
    int t = tcf.visitTryEndCatchBeging(bc);
      // BodyContentUtil.flushAndPop(pc,bc);
View Full Code Here

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

   
    if(expr==null)ASMConstants.NULL(adapter);
    else expr.writeOut(bc, Expression.MODE_REF);
    if(len>0) {
      int rtn = adapter.newLocal(Types.OBJECT);
      adapter.storeLocal(rtn, Types.OBJECT);
      for(int i=len-1;i>=0;i--) {
       
        onFinally=finallies.get(i);
        onFinally.writeOut(bc);
      }
View Full Code Here

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

    //adapter.visitVarInsn(Opcodes.ALOAD, 4);
    createMetaDataStruct(bc,component.getAttributes(),component.getMetaData());
   
    adapter.invokeConstructor(Types.COMPONENT_IMPL, CONSTR_COMPONENT_IMPL);
   
    adapter.storeLocal(comp);
   
    //Component Impl(ComponentPage componentPage,boolean output, String extend, String hint, String dspName)
   
   
    // initComponent(pc,c);
View Full Code Here

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

    int array=adapter.newLocal(Types.ARRAY);
    adapter.newInstance(ARRAY_IMPL);
    adapter.dup();
    adapter.invokeConstructor(ARRAY_IMPL, INIT);
   
    adapter.storeLocal(array);
   
  // cases.append(case.value);
    Iterator<Case> it = cases.iterator();
    Case c;
    while(it.hasNext()) {
View Full Code Here

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

    // int result=ArrayUtil.find(array,expression);
    int result=adapter.newLocal(Types.INT_VALUE);
    adapter.loadLocal(array);
    expr.writeOut(bc, Expression.MODE_REF);
    adapter.invokeStatic(Types.ARRAY_UTIL, FIND);
    adapter.storeLocal(result);
   
    // switch(result)
    ns=new NativeSwitch(result,NativeSwitch.LOCAL_REF,getStart(),getEnd());
    it = cases.iterator();
    int count=1;
View Full Code Here

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

    createMetaDataStruct(bc,interf.getAttributes(),interf.getMetaData());
   
   
    adapter.invokeConstructor(Types.INTERFACE_IMPL, CONSTR_INTERFACE_IMPL);
   
    adapter.storeLocal(comp);
   
   
   
    // initInterface(pc,c);
    adapter.visitVarInsn(Opcodes.ALOAD, 0);
View Full Code Here

Examples of xbird.xquery.expr.func.FunctionCall.FunctionCallContext.storeLocal()

        if(!(dynEnv instanceof FunctionCallContext)) {
            this._result = bindingValue;
            return;
        }
        FunctionCallContext fctxt = (FunctionCallContext) dynEnv;
        fctxt.storeLocal(this, bindingValue);
    }

    public Sequence loadResult(Sequence<? extends Item> contextSeq, DynamicContext dynEnv)
            throws XQueryException {
        if(!(dynEnv instanceof FunctionCallContext)) {
View Full Code Here

Examples of xbird.xquery.expr.func.FunctionCall.FunctionCallContext.storeLocal()

        FunctionCallContext fctxt = (FunctionCallContext) dynEnv;
        int slotSize = fctxt.getSlotSize();
        final Sequence res;
        if(bindedSlot >= slotSize) {
            res = _value.eval(contextSeq, dynEnv);
            fctxt.storeLocal(this, res);
        } else if(bindedSlot == SLOT_UNSET) {
            res = _value.eval(contextSeq, dynEnv);
            fctxt.storeLocal(this, res);
        } else {
            res = fctxt.loadLocal(this, bindedSlot);
View Full Code Here

Examples of xbird.xquery.expr.func.FunctionCall.FunctionCallContext.storeLocal()

        if(bindedSlot >= slotSize) {
            res = _value.eval(contextSeq, dynEnv);
            fctxt.storeLocal(this, res);
        } else if(bindedSlot == SLOT_UNSET) {
            res = _value.eval(contextSeq, dynEnv);
            fctxt.storeLocal(this, res);
        } else {
            res = fctxt.loadLocal(this, bindedSlot);
        }
        return res;
    }
View Full Code Here

Examples of xbird.xquery.expr.func.FunctionCall.FunctionCallContext.storeLocal()

        if(!(dynEnv instanceof FunctionCallContext)) {
            this._result = bindingValue;
            return;
        }
        FunctionCallContext fctxt = (FunctionCallContext) dynEnv;
        fctxt.storeLocal(this, bindingValue);
    }

    public Sequence loadResult(Sequence<? extends Item> contextSeq, DynamicContext dynEnv)
            throws XQueryException {
        if(!(dynEnv instanceof FunctionCallContext)) {
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.