Mercurial > hg > graal-jvmci-8
comparison src/share/vm/utilities/hashtable.hpp @ 6260:5e2dc722e70d
7186278: Build error after CR#6995781 / 7151532 with GCC 4.7.0
Summary: Templates need this object if not using template parameter in call
Reviewed-by: coleenp, kamg, dholmes
author | andrew |
---|---|
date | Tue, 31 Jul 2012 16:01:56 -0400 |
parents | ace99a6ffc83 |
children | da91efe96a93 |
comparison
equal
deleted
inserted
replaced
6259:4bfef6df8881 | 6260:5e2dc722e70d |
---|---|
258 unsigned int compute_hash(Symbol* name) { | 258 unsigned int compute_hash(Symbol* name) { |
259 return (unsigned int) name->identity_hash(); | 259 return (unsigned int) name->identity_hash(); |
260 } | 260 } |
261 | 261 |
262 int index_for(Symbol* name) { | 262 int index_for(Symbol* name) { |
263 return hash_to_index(compute_hash(name)); | 263 return this->hash_to_index(compute_hash(name)); |
264 } | 264 } |
265 | 265 |
266 // Table entry management | 266 // Table entry management |
267 HashtableEntry<T, F>* new_entry(unsigned int hashValue, T obj); | 267 HashtableEntry<T, F>* new_entry(unsigned int hashValue, T obj); |
268 | 268 |