--- old/src/share/vm/opto/castnode.cpp 2016-01-14 16:04:42.922237928 +0100 +++ new/src/share/vm/opto/castnode.cpp 2016-01-14 16:04:42.850237930 +0100 @@ -277,6 +277,23 @@ 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.