# HG changeset patch # User Christian Humer # Date 1408388571 -7200 # Node ID 226552569e342fa7f148051655bbc1cb465d510b # Parent fc6f12ee71e51b79b20d73ba08263bbb2b892d2f SL: refactored new naming for condition profiles. diff -r fc6f12ee71e5 -r 226552569e34 graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/controlflow/SLIfNode.java --- a/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/controlflow/SLIfNode.java Mon Aug 18 19:02:18 2014 +0200 +++ b/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/controlflow/SLIfNode.java Mon Aug 18 21:02:51 2014 +0200 @@ -48,11 +48,11 @@ /** * Profiling information, collected by the interpreter, capturing the profiling information of * the condition. This allows the compiler to generate better code for conditions that are - * always true or always false. Additionally the {@link IntegerConditionProfile} implementation - * (as opposed to {@link BooleanConditionProfile} implementation) transmits the probability of + * always true or always false. Additionally the {@link CountingConditionProfile} implementation + * (as opposed to {@link BinaryConditionProfile} implementation) transmits the probability of * the condition to be true to the compiler. */ - private final ConditionProfile condition = new IntegerConditionProfile(); + private final ConditionProfile condition = new CountingConditionProfile(); public SLIfNode(SourceSection src, SLExpressionNode conditionNode, SLStatementNode thenPartNode, SLStatementNode elsePartNode) { super(src);