equal
deleted
inserted
replaced
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) { |