Package cn.wensiqun.asmsupport.operators.asmdirect

Examples of cn.wensiqun.asmsupport.operators.asmdirect.NOP


        lv.getScopeLogicVar().setSpecifiedStartLabel(exceptionLbl);
        new Marker(getExecuteBlock(), exceptionLbl);
        catchBody(lv);
       
        new Marker(getExecuteBlock(), endCatchLbl1);
        new NOP(getExecuteBlock());
       
        Finally finallyOfCurrentTrySeries = getFinally();
       
       
        if(finallyOfCurrentTrySeries != null){
View Full Code Here


     
    }

    @Override
    public final void generateInsn() {
        new NOP(getExecuteBlock());
        if(member.getParamterizedType().isArray()){
            final LocalVariable i = createVariable(null, AClass.INT_ACLASS, true, Value.value(0));
           
            new GOTO(getExecuteBlock(), conditionLbl);
            new NOP(getExecuteBlock());
            new Marker(getExecuteBlock(), startLbl);
            new NOP(getExecuteBlock());
           
            LocalVariable obj = createVariable(null, ((ArrayClass)member.getParamterizedType()).getNextDimType(), true, arrayLoad(member, i) );
            generateBody(obj);

            new Marker(getExecuteBlock(), continueLbl);
            afterInc(i);
            new Marker(getExecuteBlock(), conditionLbl);
            condition = lessThan(i, arrayLength(member));
            //((LessThan)condition).setJumpLable(startLbl);
        }else{
          final LocalVariable itr = createVariable(null, AClass.ITERATOR_ACLASS, true, invoke(member, "iterator"));
            new GOTO(getExecuteBlock(), conditionLbl);
         
          new Marker(getExecuteBlock(), startLbl);
            new NOP(getExecuteBlock());

            LocalVariable obj = createVariable(null, AClass.OBJECT_ACLASS, true, invoke(itr, "next"));
            generateBody(obj);

            new Marker(getExecuteBlock(), continueLbl);
View Full Code Here

TOP

Related Classes of cn.wensiqun.asmsupport.operators.asmdirect.NOP

Copyright © 2018 www.massapicom. 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.