diff src/share/vm/code/codeBlob.hpp @ 1161:1fc01a2425ce

Merge
author iveresov
date Tue, 12 Jan 2010 13:54:40 -0800
parents 4e6abf09f540
children 9eba43136cb5
line wrap: on
line diff
--- a/src/share/vm/code/codeBlob.hpp	Sat Jan 09 09:01:41 2010 -0800
+++ b/src/share/vm/code/codeBlob.hpp	Tue Jan 12 13:54:40 2010 -0800
@@ -204,7 +204,8 @@
   virtual void print_value_on(outputStream* st) const PRODUCT_RETURN;
 
   // Print the comment associated with offset on stream, if there is one
-  void print_block_comment(outputStream* stream, intptr_t offset) {
+  virtual void print_block_comment(outputStream* stream, address block_begin) {
+    intptr_t offset = (intptr_t)(block_begin - instructions_begin());
     _comments.print_block_comment(stream, offset);
   }