comparison graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/controlflow/SLIfNode.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
51 */ 51 */
52 private final BranchProfile thenTaken = new BranchProfile(); 52 private final BranchProfile thenTaken = new BranchProfile();
53 private final BranchProfile elseTaken = new BranchProfile(); 53 private final BranchProfile elseTaken = new BranchProfile();
54 54
55 public SLIfNode(SLExpressionNode conditionNode, SLStatementNode thenPartNode, SLStatementNode elsePartNode) { 55 public SLIfNode(SLExpressionNode conditionNode, SLStatementNode thenPartNode, SLStatementNode elsePartNode) {
56 /*
57 * It is a Truffle requirement to call adoptChild(), which performs all the necessary steps
58 * to add the new child to the node tree.
59 */
60 this.conditionNode = conditionNode; 56 this.conditionNode = conditionNode;
61 this.thenPartNode = thenPartNode; 57 this.thenPartNode = thenPartNode;
62 this.elsePartNode = elsePartNode; 58 this.elsePartNode = elsePartNode;
63 } 59 }
64 60