< prev index next >

src/hotspot/share/ci/ciSymbol.cpp

Print this page
*** 78,10 ***
--- 78,24 ---
  //
  // 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());)
  }
  

*** 97,10 ***
--- 111,22 ---
  // ciSymbol::utf8_length
  int ciSymbol::utf8_length() {
    GUARDED_VM_ENTRY(return get_symbol()->utf8_length();)
  }
  
+ // ------------------------------------------------------------------
+ // ciSymbol::is_Q_signature
+ bool ciSymbol::is_Q_signature() const {
+   GUARDED_VM_ENTRY(return get_symbol()->is_Q_signature();)
+ }
+ 
+ // ------------------------------------------------------------------
+ // ciSymbol::is_Q_array_signature
+ bool ciSymbol::is_Q_array_signature() const {
+   GUARDED_VM_ENTRY(return get_symbol()->is_Q_array_signature();)
+ }
+ 
  // ------------------------------------------------------------------
  // ciSymbol::print_impl
  //
  // Implementation of the print method
  void ciSymbol::print_impl(outputStream* st) {
< prev index next >