hotspot/src/share/vm/code/codeBlob.hpp
changeset 4584 e2a449e8cc6f
parent 4564 55dfb20908d0
child 5050 47ecd86932ce
equal deleted inserted replaced
4582:1a6662d11385 4584:e2a449e8cc6f
   202   virtual void verify();
   202   virtual void verify();
   203   virtual void print() const                     PRODUCT_RETURN;
   203   virtual void print() const                     PRODUCT_RETURN;
   204   virtual void print_value_on(outputStream* st) const PRODUCT_RETURN;
   204   virtual void print_value_on(outputStream* st) const PRODUCT_RETURN;
   205 
   205 
   206   // Print the comment associated with offset on stream, if there is one
   206   // Print the comment associated with offset on stream, if there is one
   207   void print_block_comment(outputStream* stream, intptr_t offset) {
   207   virtual void print_block_comment(outputStream* stream, address block_begin) {
       
   208     intptr_t offset = (intptr_t)(block_begin - instructions_begin());
   208     _comments.print_block_comment(stream, offset);
   209     _comments.print_block_comment(stream, offset);
   209   }
   210   }
   210 
   211 
   211   // Transfer ownership of comments to this CodeBlob
   212   // Transfer ownership of comments to this CodeBlob
   212   void set_comments(CodeComments& comments) {
   213   void set_comments(CodeComments& comments) {