Package cn.wensiqun.asmsupport.operators

Examples of cn.wensiqun.asmsupport.operators.Jumpable


   
    @Override
    public void executing() {
        insnHelper.nop();
      if(condition instanceof Jumpable){
          Jumpable jmp = (Jumpable) condition;
          jmp.setJumpLable(getEndLabel());
          jmp.executeAndJump(ControlType.IF);
        }else{
            condition.loadToStack(this);
            insnHelper.unbox(condition.getParamterizedType().getType());
            insnHelper.ifZCmp(InstructionHelper.EQ, getEndLabel());
        }
View Full Code Here


  @Override
    public void executing() {
        insnHelper.nop();
        if(condition instanceof Jumpable){
          Jumpable jmp = (Jumpable) condition;
          jmp.setJumpLable(getEndLabel());
          jmp.executeAndJump(ControlType.IF);
        }else{
            condition.loadToStack(this);
            insnHelper.unbox(condition.getParamterizedType().getType());
            insnHelper.ifZCmp(InstructionHelper.EQ, getEndLabel());
        }
View Full Code Here

    @Override
    protected void executing() {
        Label l1 = new Label();
        Label l2 = new Label();
      if(exp1 instanceof Jumpable){
          Jumpable jmp = (Jumpable) exp1;
          jmp.setJumpLable(l1);
          jmp.executeAndJump(ControlType.IF);
        }else{
          exp1.loadToStack(block);
            insnHelper.unbox(exp1.getParamterizedType().getType());
            insnHelper.ifZCmp(InstructionHelper.EQ, l1);
        }
View Full Code Here

        for(Executeable exe : getExecuteQueue()){
            exe.execute();
        }
       
        if(condition instanceof Jumpable){
          Jumpable jmp = (Jumpable) condition;
          jmp.setJumpLable(startLbl);
          jmp.executeAndJump(ControlType.WHILE);
        }else{
            condition.loadToStack(this);
            insnHelper.unbox(condition.getParamterizedType().getType());
            insnHelper.ifZCmp(InstructionHelper.NE, startLbl);
        }
View Full Code Here

        //if(!inversContinueLblMark){
        insnHelper.mark(condiLbl);
        //}

        if(condition instanceof Jumpable){
          Jumpable jmp = (Jumpable) condition;
          jmp.setJumpLable(startLbl);
          jmp.executeAndJump(ControlType.WHILE);
        }else{
            condition.loadToStack(this);
            insnHelper.unbox(condition.getParamterizedType().getType());
            insnHelper.ifZCmp(InstructionHelper.NE, startLbl);
        }
View Full Code Here

TOP

Related Classes of cn.wensiqun.asmsupport.operators.Jumpable

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.