src/hotspot/share/opto/memnode.hpp
branchihse-cflags-rewrite-branch
changeset 56898 96b5af7d4202
parent 47216 71c04702a3d5
child 56900 d5d542d50e3c
equal deleted inserted replaced
56760:8a18c7457c88 56898:96b5af7d4202
   238   virtual uint ideal_reg() const;
   238   virtual uint ideal_reg() const;
   239   virtual const Type *bottom_type() const;
   239   virtual const Type *bottom_type() const;
   240   // Following method is copied from TypeNode:
   240   // Following method is copied from TypeNode:
   241   void set_type(const Type* t) {
   241   void set_type(const Type* t) {
   242     assert(t != NULL, "sanity");
   242     assert(t != NULL, "sanity");
   243     debug_only(uint check_hash = (VerifyHashTableKeys && _hash_lock) ? hash() : NO_HASH);
   243     debug_only(uint check_hash = (VerifyHashTableKeys && _hash_lock) ? hash() : (uint)NO_HASH);
   244     *(const Type**)&_type = t;   // cast away const-ness
   244     *(const Type**)&_type = t;   // cast away const-ness
   245     // If this node is in the hash table, make sure it doesn't need a rehash.
   245     // If this node is in the hash table, make sure it doesn't need a rehash.
   246     assert(check_hash == NO_HASH || check_hash == hash(), "type change must preserve hash code");
   246     assert(check_hash == NO_HASH || check_hash == hash(), "type change must preserve hash code");
   247   }
   247   }
   248   const Type* type() const { assert(_type != NULL, "sanity"); return _type; };
   248   const Type* type() const { assert(_type != NULL, "sanity"); return _type; };