# HG changeset patch # User Thomas Wuerthinger # Date 1425125709 -3600 # Node ID 71a9b760d3bb4def8a759e71017b1c4484959bd1 # Parent cd097635c86532583407fba8d36065f65028ab57 Another fix after counted loop recognition changes. diff -r cd097635c865 -r 71a9b760d3bb graal/com.oracle.graal.loop/src/com/oracle/graal/loop/LoopEx.java --- 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) {