Mercurial > hg > graal-jvmci-8
diff src/share/vm/oops/constantPool.hpp @ 22448:bd786aba15a7
moved (newly) public method into public section
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 21 Aug 2015 11:29:46 +0200 |
parents | 096c224171c4 |
children |
line wrap: on
line diff
--- a/src/share/vm/oops/constantPool.hpp Fri Aug 21 11:14:48 2015 +0200 +++ b/src/share/vm/oops/constantPool.hpp Fri Aug 21 11:29:46 2015 +0200 @@ -676,6 +676,8 @@ int klass_ref_index_at(int which) { return impl_klass_ref_index_at(which, false); } int name_and_type_ref_index_at(int which) { return impl_name_and_type_ref_index_at(which, false); } + int remap_instruction_operand_from_cache(int operand); // operand must be biased by CPCACHE_INDEX_TAG + // Lookup for entries consisting of (name_index, signature_index) int name_ref_index_at(int which_nt); // == low-order jshort of name_and_type_at(which_nt) int signature_ref_index_at(int which_nt); // == high-order jshort of name_and_type_at(which_nt) @@ -797,10 +799,6 @@ int impl_klass_ref_index_at(int which, bool uncached); int impl_name_and_type_ref_index_at(int which, bool uncached); - public: - int remap_instruction_operand_from_cache(int operand); // operand must be biased by CPCACHE_INDEX_TAG - - private: // Used while constructing constant pool (only by ClassFileParser) jint klass_index_at(int which) { assert(tag_at(which).is_klass_index(), "Corrupted constant pool");