< prev index next >

src/hotspot/share/ci/ciTypeArrayKlass.hpp

Print this page




  44   const char* type_string() { return "ciTypeArrayKlass"; }
  45 
  46   // Helper method for make.
  47   static ciTypeArrayKlass* make_impl(BasicType type);
  48 
  49 public:
  50   // The type of the array elements.
  51   BasicType element_type() {
  52     return Klass::layout_helper_element_type(layout_helper());
  53   }
  54 
  55   // What kind of ciObject is this?
  56   bool is_type_array_klass() const { return true; }
  57 
  58   // Make an array klass corresponding to the specified primitive type.
  59   static ciTypeArrayKlass* make(BasicType type);
  60 
  61   virtual ciKlass* exact_klass() {
  62     return this;
  63   }




  64 };
  65 
  66 #endif // SHARE_CI_CITYPEARRAYKLASS_HPP


  44   const char* type_string() { return "ciTypeArrayKlass"; }
  45 
  46   // Helper method for make.
  47   static ciTypeArrayKlass* make_impl(BasicType type);
  48 
  49 public:
  50   // The type of the array elements.
  51   BasicType element_type() {
  52     return Klass::layout_helper_element_type(layout_helper());
  53   }
  54 
  55   // What kind of ciObject is this?
  56   bool is_type_array_klass() const { return true; }
  57 
  58   // Make an array klass corresponding to the specified primitive type.
  59   static ciTypeArrayKlass* make(BasicType type);
  60 
  61   virtual ciKlass* exact_klass() {
  62     return this;
  63   }
  64 
  65   virtual bool can_be_value_array_klass() {
  66     return false;
  67   }
  68 };
  69 
  70 #endif // SHARE_CI_CITYPEARRAYKLASS_HPP
< prev index next >