< prev index next >
src/share/vm/opto/castnode.cpp
Print this page
*** 275,284 ****
--- 275,301 ----
}
}
return NULL;
}
+ uint CastIINode::cmp(const Node &n) const {
+ return ConstraintCastNode::cmp(n) && ((CastIINode&)n)._range_check_dependency == _range_check_dependency;
+ }
+
+ uint CastIINode::size_of() const {
+ return sizeof(*this);
+ }
+
+ #ifndef PRODUCT
+ void CastIINode::dump_spec(outputStream* st) const {
+ ConstraintCastNode::dump_spec(st);
+ if (_range_check_dependency) {
+ st->print(" range check dependency");
+ }
+ }
+ #endif
+
//=============================================================================
//------------------------------Identity---------------------------------------
// If input is already higher or equal to cast type, then this is an identity.
Node* CheckCastPPNode::Identity(PhaseGVN* phase) {
Node* dom = dominating_cast(phase);
< prev index next >