Package com.dragome.compiler.ast

Examples of com.dragome.compiler.ast.WhileStatement


    selfEdges= graph.removeSelfEdges(header);
  }

  void rollOut_(Block block)
  {
    WhileStatement loopStmt= new WhileStatement();
    Block loopBody= new Block();
    loopStmt.setBlock(loopBody);
    loopStmt.setExpression(new BooleanLiteral(true));

    block.appendChild(loopStmt);

    Iterator iter= selfEdges.iterator();
    while (iter.hasNext())
    {
      Edge edge= (Edge) iter.next();
      if (!edge.isGlobal())
        continue;
      loopStmt.isLabeled();
      produceJump(edge, loopStmt);
    }

    graph.rollOut(header, loopBody);
  }
View Full Code Here

TOP

Related Classes of com.dragome.compiler.ast.WhileStatement

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.