< prev index next >

src/hotspot/share/ci/ciSymbol.cpp

Print this page
rev 55090 : secret-sfac

*** 83,92 **** --- 83,106 ---- // // Tests if the symbol starts with the given prefix. bool ciSymbol::starts_with(const char* prefix, int len) const { GUARDED_VM_ENTRY(return get_symbol()->starts_with(prefix, len);) } + bool ciSymbol::starts_with(char prefix_char) const { + GUARDED_VM_ENTRY(return get_symbol()->starts_with(prefix_char);) + } + + // ------------------------------------------------------------------ + // ciSymbol::ends_with + // + // Tests if the symbol ends with the given suffix. + bool ciSymbol::ends_with(const char* suffix, int len) const { + GUARDED_VM_ENTRY(return get_symbol()->ends_with(suffix, len);) + } + bool ciSymbol::ends_with(char suffix_char) const { + GUARDED_VM_ENTRY(return get_symbol()->ends_with(suffix_char);) + } bool ciSymbol::is_signature_polymorphic_name() const { GUARDED_VM_ENTRY(return MethodHandles::is_signature_polymorphic_name(get_symbol());) }
< prev index next >