comparison graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/controlflow/SLWhileNode.java @ 16178:b96e17e6d6aa

Remove obsolete comments.
author Julian Lettner <julian.lettner@oracle.com>
date Tue, 24 Jun 2014 14:52:05 +0200
parents 111bf82514ca
children abe7128ca473
comparison
equal deleted inserted replaced
16177:ef1834ac566c 16178:b96e17e6d6aa
49 */ 49 */
50 private final BranchProfile continueTaken = new BranchProfile(); 50 private final BranchProfile continueTaken = new BranchProfile();
51 private final BranchProfile breakTaken = new BranchProfile(); 51 private final BranchProfile breakTaken = new BranchProfile();
52 52
53 public SLWhileNode(SLExpressionNode conditionNode, SLStatementNode bodyNode) { 53 public SLWhileNode(SLExpressionNode conditionNode, SLStatementNode bodyNode) {
54 /*
55 * It is a Truffle requirement to call adoptChild(), which performs all the necessary steps
56 * to add the new child to the node tree.
57 */
58 this.conditionNode = conditionNode; 54 this.conditionNode = conditionNode;
59 this.bodyNode = bodyNode; 55 this.bodyNode = bodyNode;
60 } 56 }
61 57
62 @Override 58 @Override