equal
deleted
inserted
replaced
79 // control copies |
79 // control copies |
80 Node *ConstraintCastNode::Ideal(PhaseGVN *phase, bool can_reshape) { |
80 Node *ConstraintCastNode::Ideal(PhaseGVN *phase, bool can_reshape) { |
81 return (in(0) && remove_dead_region(phase, can_reshape)) ? this : NULL; |
81 return (in(0) && remove_dead_region(phase, can_reshape)) ? this : NULL; |
82 } |
82 } |
83 |
83 |
84 uint ConstraintCastNode::cmp(const Node &n) const { |
84 bool ConstraintCastNode::cmp(const Node &n) const { |
85 return TypeNode::cmp(n) && ((ConstraintCastNode&)n)._carry_dependency == _carry_dependency; |
85 return TypeNode::cmp(n) && ((ConstraintCastNode&)n)._carry_dependency == _carry_dependency; |
86 } |
86 } |
87 |
87 |
88 uint ConstraintCastNode::size_of() const { |
88 uint ConstraintCastNode::size_of() const { |
89 return sizeof(*this); |
89 return sizeof(*this); |
260 } |
260 } |
261 } |
261 } |
262 return NULL; |
262 return NULL; |
263 } |
263 } |
264 |
264 |
265 uint CastIINode::cmp(const Node &n) const { |
265 bool CastIINode::cmp(const Node &n) const { |
266 return ConstraintCastNode::cmp(n) && ((CastIINode&)n)._range_check_dependency == _range_check_dependency; |
266 return ConstraintCastNode::cmp(n) && ((CastIINode&)n)._range_check_dependency == _range_check_dependency; |
267 } |
267 } |
268 |
268 |
269 uint CastIINode::size_of() const { |
269 uint CastIINode::size_of() const { |
270 return sizeof(*this); |
270 return sizeof(*this); |