hotspot/src/share/vm/code/codeBlob.hpp
changeset 13887 89b873bcc55b
parent 13728 882756847a04
child 16368 713209c45a82
--- a/hotspot/src/share/vm/code/codeBlob.hpp	Thu Sep 20 16:49:17 2012 +0200
+++ b/hotspot/src/share/vm/code/codeBlob.hpp	Mon Sep 24 10:30:14 2012 -0700
@@ -184,7 +184,7 @@
   static void trace_new_stub(CodeBlob* blob, const char* name1, const char* name2 = "");
 
   // Print the comment associated with offset on stream, if there is one
-  virtual void print_block_comment(outputStream* stream, address block_begin) {
+  virtual void print_block_comment(outputStream* stream, address block_begin) const {
     intptr_t offset = (intptr_t)(block_begin - code_begin());
     _comments.print_block_comment(stream, offset);
   }