Mercurial > hg > graal-jvmci-8
changeset 19642:71a9b760d3bb
Another fix after counted loop recognition changes.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Sat, 28 Feb 2015 13:15:09 +0100 |
parents | cd097635c865 |
children | d2e3d8202ed3 |
files | graal/com.oracle.graal.loop/src/com/oracle/graal/loop/LoopEx.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.loop/src/com/oracle/graal/loop/LoopEx.java Sat Feb 28 12:44:49 2015 +0100 +++ b/graal/com.oracle.graal.loop/src/com/oracle/graal/loop/LoopEx.java Sat Feb 28 13:15:09 2015 +0100 @@ -198,7 +198,7 @@ limit = lessThan.getY(); } } - if (iv != null && iv.strideNode() != null && iv.constantStride() != 1 && !(ifTest instanceof IntegerLessThanNode)) { + if (iv != null && iv.isConstantStride() && iv.constantStride() != 1 && !(ifTest instanceof IntegerLessThanNode)) { return false; } if (condition == null) {