src/share/vm/code/codeBlob.hpp

changeset 1590
4e6abf09f540
parent 1570
e66fd840cb6b
child 1734
9eba43136cb5
     1.1 --- a/src/share/vm/code/codeBlob.hpp	Fri Jan 08 09:42:31 2010 -0800
     1.2 +++ b/src/share/vm/code/codeBlob.hpp	Fri Jan 08 13:47:01 2010 -0800
     1.3 @@ -204,7 +204,8 @@
     1.4    virtual void print_value_on(outputStream* st) const PRODUCT_RETURN;
     1.5  
     1.6    // Print the comment associated with offset on stream, if there is one
     1.7 -  void print_block_comment(outputStream* stream, intptr_t offset) {
     1.8 +  virtual void print_block_comment(outputStream* stream, address block_begin) {
     1.9 +    intptr_t offset = (intptr_t)(block_begin - instructions_begin());
    1.10      _comments.print_block_comment(stream, offset);
    1.11    }
    1.12  

mercurial