src/hotspot/share/opto/opaquenode.cpp
changeset 49487 bde392011cd8
parent 47216 71c04702a3d5
child 54327 a4d19817609c
equal deleted inserted replaced
49486:a3f1db30ab85 49487:bde392011cd8
    58 uint Opaque2Node::hash() const { return NO_HASH; }
    58 uint Opaque2Node::hash() const { return NO_HASH; }
    59 uint Opaque2Node::cmp( const Node &n ) const {
    59 uint Opaque2Node::cmp( const Node &n ) const {
    60   return (&n == this);          // Always fail except on self
    60   return (&n == this);          // Always fail except on self
    61 }
    61 }
    62 
    62 
    63 Node* Opaque4Node::Identity(PhaseGVN* phase) {
       
    64   return phase->C->major_progress() ? this : in(2);
       
    65 }
       
    66 
       
    67 const Type* Opaque4Node::Value(PhaseGVN* phase) const {
    63 const Type* Opaque4Node::Value(PhaseGVN* phase) const {
    68   return phase->type(in(1));
    64   return phase->type(in(1));
    69 }
    65 }
    70 
    66 
    71 //=============================================================================
    67 //=============================================================================