comparison graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/type/FloatStamp.java @ 11352:8185c119d731

"always set" bit mask on IntegerStamps
author Lukas Stadler <lukas.stadler@jku.at>
date Fri, 16 Aug 2013 13:15:42 +0200
parents ef6915cf1e59
children 9088d13767f3
comparison
equal deleted inserted replaced
11314:dc14bcf752ea 11352:8185c119d731
58 /** 58 /**
59 * The (inclusive) upper bound on the value described by this stamp. 59 * The (inclusive) upper bound on the value described by this stamp.
60 */ 60 */
61 public double upperBound() { 61 public double upperBound() {
62 return upperBound; 62 return upperBound;
63 }
64
65 public boolean isNonNaN() {
66 return nonNaN;
63 } 67 }
64 68
65 public boolean isUnrestricted() { 69 public boolean isUnrestricted() {
66 return lowerBound == Double.NEGATIVE_INFINITY && upperBound == Double.POSITIVE_INFINITY && !nonNaN; 70 return lowerBound == Double.NEGATIVE_INFINITY && upperBound == Double.POSITIVE_INFINITY && !nonNaN;
67 } 71 }