src/share/vm/code/nmethod.hpp

changeset 4107
b31471cdc53e
parent 4103
137868b7aa6f
child 4117
f2e12eb74117
     1.1 --- a/src/share/vm/code/nmethod.hpp	Thu Sep 20 16:49:17 2012 +0200
     1.2 +++ b/src/share/vm/code/nmethod.hpp	Mon Sep 24 10:30:14 2012 -0700
     1.3 @@ -653,11 +653,11 @@
     1.4    void log_state_change() const;
     1.5  
     1.6    // Prints block-level comments, including nmethod specific block labels:
     1.7 -  virtual void print_block_comment(outputStream* stream, address block_begin) {
     1.8 +  virtual void print_block_comment(outputStream* stream, address block_begin) const {
     1.9      print_nmethod_labels(stream, block_begin);
    1.10      CodeBlob::print_block_comment(stream, block_begin);
    1.11    }
    1.12 -  void print_nmethod_labels(outputStream* stream, address block_begin);
    1.13 +  void print_nmethod_labels(outputStream* stream, address block_begin) const;
    1.14  
    1.15    // Prints a comment for one native instruction (reloc info, pc desc)
    1.16    void print_code_comment_on(outputStream* st, int column, address begin, address end);

mercurial