src/share/vm/opto/node.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Cdiff src/share/vm/opto/node.cpp

src/share/vm/opto/node.cpp

Print this page

        

*** 905,915 **** // %%% Temporary, until we sort out CheckCastPP vs. CastPP. // Strip away casting. (It is depth-limited.) Node* Node::uncast() const { // Should be inline: //return is_ConstraintCast() ? uncast_helper(this) : (Node*) this; ! if (is_ConstraintCast() || is_CheckCastPP()) return uncast_helper(this); else return (Node*) this; } --- 905,915 ---- // %%% Temporary, until we sort out CheckCastPP vs. CastPP. // Strip away casting. (It is depth-limited.) Node* Node::uncast() const { // Should be inline: //return is_ConstraintCast() ? uncast_helper(this) : (Node*) this; ! if (is_ConstraintCast()) return uncast_helper(this); else return (Node*) this; }
*** 959,970 **** #endif if (p == NULL || p->req() != 2) { break; } else if (p->is_ConstraintCast()) { p = p->in(1); - } else if (p->is_CheckCastPP()) { - p = p->in(1); } else { break; } } return (Node*) p; --- 959,968 ----
src/share/vm/opto/node.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File