Mercurial > hg > truffle
comparison graal/com.oracle.graal.loop/src/com/oracle/graal/loop/InductionVariable.java @ 19190:18c2fd3d7fc7
Cleanup InductionVariable declarations a bit
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Mon, 09 Feb 2015 15:52:17 -0800 |
parents | 627f255ee298 |
children | 93c50cefb9e8 |
comparison
equal
deleted
inserted
replaced
19189:7ebed83df427 | 19190:18c2fd3d7fc7 |
---|---|
85 | 85 |
86 public abstract long constantStride(); | 86 public abstract long constantStride(); |
87 | 87 |
88 /** | 88 /** |
89 * Returns the extremum value of the induction variable. The extremum value is the value of the | 89 * Returns the extremum value of the induction variable. The extremum value is the value of the |
90 * induction variable in the loop body of the last iteration. | 90 * induction variable in the loop body of the last iteration, only taking into account the main |
91 * loop limit test. It's possible for the loop to exit before this value if | |
92 * {@link CountedLoopInfo#isExactTripCount()} returns false for the containing loop. | |
91 */ | 93 */ |
92 public ValueNode extremumNode() { | 94 public ValueNode extremumNode() { |
93 return extremumNode(false, valueNode().stamp()); | 95 return extremumNode(false, valueNode().stamp()); |
94 } | 96 } |
95 | 97 |