Package org.candle.decompiler.intermediate.code.conditional

Examples of org.candle.decompiler.intermediate.code.conditional.IfIntermediate


  @Override
  public void visitBooleanBranchIntermediate(BooleanBranchIntermediate line) {
   
    //transform to IF block.
   
    IfIntermediate ifIntermediate = new IfIntermediate(line.getInstruction(), line.getExpression());
    igc.getGraph().addVertex(ifIntermediate);
   
    //now, replace the vertex.
    igc.redirectPredecessors(line, ifIntermediate);
    igc.redirectSuccessors(line, ifIntermediate);
View Full Code Here


          return;
        }
       
        //else if this is an ElseIf, probably should be an IF.
        if(firstElseBlockElement instanceof ElseIfIntermediate) {
          IfIntermediate ifIntermediate = new IfIntermediate(firstElseBlockElement.getInstruction(), ((BooleanBranchIntermediate) firstElseBlockElement).getExpression());
          igc.getGraph().addVertex(ifIntermediate);
          igc.redirectPredecessors(firstElseBlockElement, ifIntermediate);
          igc.redirectSuccessors(firstElseBlockElement, ifIntermediate);
          igc.getGraph().removeVertex(firstElseBlockElement);
         
View Full Code Here

TOP

Related Classes of org.candle.decompiler.intermediate.code.conditional.IfIntermediate

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.