hotspot/src/share/vm/shark/sharkCodeBuffer.hpp
changeset 14622 8e94e4186d35
parent 7397 5b173b4ca846
equal deleted inserted replaced
14621:fd9265ab0f67 14622:8e94e4186d35
    79     int offset = masm()->offset();
    79     int offset = masm()->offset();
    80     masm()->store_oop(object);
    80     masm()->store_oop(object);
    81     return offset;
    81     return offset;
    82   }
    82   }
    83 
    83 
       
    84   int inline_Metadata(Metadata* metadata) const {
       
    85     masm()->align(BytesPerWord);
       
    86     int offset = masm()->offset();
       
    87     masm()->store_Metadata(metadata);
       
    88     return offset;
       
    89   }
       
    90 
    84   // Inline a block of non-oop data into the buffer and return its offset.
    91   // Inline a block of non-oop data into the buffer and return its offset.
    85  public:
    92  public:
    86   int inline_data(void *src, size_t size) const {
    93   int inline_data(void *src, size_t size) const {
    87     masm()->align(BytesPerWord);
    94     masm()->align(BytesPerWord);
    88     int offset = masm()->offset();
    95     int offset = masm()->offset();