hotspot/src/share/vm/opto/narrowptrnode.cpp
changeset 30300 4b12a5b40064
parent 23528 8f1a7f5e8066
child 35551 36ef3841fb34
equal deleted inserted replaced
30299:1f6f7d1e0c1e 30300:4b12a5b40064
    65   assert(t->isa_oop_ptr(), "only oopptr here");
    65   assert(t->isa_oop_ptr(), "only oopptr here");
    66   return t->make_narrowoop();
    66   return t->make_narrowoop();
    67 }
    67 }
    68 
    68 
    69 
    69 
    70 Node *EncodeNarrowPtrNode::Ideal_DU_postCCP( PhaseCCP *ccp ) {
       
    71   return MemNode::Ideal_common_DU_postCCP(ccp, this, in(1));
       
    72 }
       
    73 
       
    74 Node* DecodeNKlassNode::Identity(PhaseTransform* phase) {
    70 Node* DecodeNKlassNode::Identity(PhaseTransform* phase) {
    75   const Type *t = phase->type( in(1) );
    71   const Type *t = phase->type( in(1) );
    76   if( t == Type::TOP ) return in(1);
    72   if( t == Type::TOP ) return in(1);
    77 
    73 
    78   if (in(1)->is_EncodePKlass()) {
    74   if (in(1)->is_EncodePKlass()) {