hotspot/src/share/vm/opto/memnode.cpp
changeset 216 9d2d32d9828f
parent 209 2a924148a40a
child 237 fba97e902303
equal deleted inserted replaced
215:a225dcee0abf 216:9d2d32d9828f
  1769   return this;
  1769   return this;
  1770 }
  1770 }
  1771 
  1771 
  1772 //------------------------------Value-----------------------------------------
  1772 //------------------------------Value-----------------------------------------
  1773 const Type *StoreCMNode::Value( PhaseTransform *phase ) const {
  1773 const Type *StoreCMNode::Value( PhaseTransform *phase ) const {
       
  1774   // Either input is TOP ==> the result is TOP
       
  1775   const Type *t = phase->type( in(MemNode::Memory) );
       
  1776   if( t == Type::TOP ) return Type::TOP;
       
  1777   t = phase->type( in(MemNode::Address) );
       
  1778   if( t == Type::TOP ) return Type::TOP;
       
  1779   t = phase->type( in(MemNode::ValueIn) );
       
  1780   if( t == Type::TOP ) return Type::TOP;
  1774   // If extra input is TOP ==> the result is TOP
  1781   // If extra input is TOP ==> the result is TOP
  1775   const Type *t1 = phase->type( in(MemNode::OopStore) );
  1782   t = phase->type( in(MemNode::OopStore) );
  1776   if( t1 == Type::TOP ) return Type::TOP;
  1783   if( t == Type::TOP ) return Type::TOP;
  1777 
  1784 
  1778   return StoreNode::Value( phase );
  1785   return StoreNode::Value( phase );
  1779 }
  1786 }
  1780 
  1787 
  1781 
  1788