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

Merge
author iveresov
date Tue, 12 Jan 2010 13:54:40 -0800
parents 4e6abf09f540
children 9eba43136cb5
comparison
equal deleted inserted replaced
1149:0579c695832f 1161:1fc01a2425ce
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) {