hotspot/src/share/vm/c1/c1_ValueType.hpp
changeset 5707 6c66849ed24e
parent 5547 f4b087cbb361
child 7397 5b173b4ca846
equal deleted inserted replaced
5706:0c91076143f9 5707:6c66849ed24e
    92  protected:
    92  protected:
    93   ValueType(ValueTag tag, int size): _tag(tag), _size(size) {}
    93   ValueType(ValueTag tag, int size): _tag(tag), _size(size) {}
    94 
    94 
    95  public:
    95  public:
    96   // initialization
    96   // initialization
    97   static void initialize();
    97   static void initialize(Arena* arena);
    98 
    98 
    99   // accessors
    99   // accessors
   100   virtual ValueType* base() const                = 0; // the 'canonical' type (e.g., intType for an IntConstant)
   100   virtual ValueType* base() const                = 0; // the 'canonical' type (e.g., intType for an IntConstant)
   101   ValueTag tag() const { return _tag; }          // the 'canonical' tag  (useful for type matching)
   101   ValueTag tag() const { return _tag; }          // the 'canonical' tag  (useful for type matching)
   102   int size() const {                             // the size of an object of the type in words
   102   int size() const {                             // the size of an object of the type in words