comparison src/share/vm/ci/ciSymbol.cpp @ 6275:957c266d8bc5

Merge with http://hg.openjdk.java.net/hsx/hsx24/hotspot/
author Doug Simon <doug.simon@oracle.com>
date Tue, 21 Aug 2012 10:39:19 +0200
parents 1d7922586cf6
children b9a9ed0f8eeb
comparison
equal deleted inserted replaced
5891:fd8832ae511d 6275:957c266d8bc5
81 // Tests if the symbol starts with the given prefix. 81 // Tests if the symbol starts with the given prefix.
82 bool ciSymbol::starts_with(const char* prefix, int len) const { 82 bool ciSymbol::starts_with(const char* prefix, int len) const {
83 GUARDED_VM_ENTRY(return get_symbol()->starts_with(prefix, len);) 83 GUARDED_VM_ENTRY(return get_symbol()->starts_with(prefix, len);)
84 } 84 }
85 85
86 bool ciSymbol::is_signature_polymorphic_name() const {
87 GUARDED_VM_ENTRY(return MethodHandles::is_signature_polymorphic_name(get_symbol());)
88 }
89
86 // ------------------------------------------------------------------ 90 // ------------------------------------------------------------------
87 // ciSymbol::index_of 91 // ciSymbol::index_of
88 // 92 //
89 // Determines where the symbol contains the given substring. 93 // Determines where the symbol contains the given substring.
90 int ciSymbol::index_of_at(int i, const char* str, int len) const { 94 int ciSymbol::index_of_at(int i, const char* str, int len) const {