Mercurial > hg > truffle
comparison src/share/vm/code/codeBlob.hpp @ 1155:4e6abf09f540
6912062: disassembler plugin needs to produce symbolic information in product mode
Summary: More informative disassembly in product mode. Also, a more consistent CompileCommand syntax.
Reviewed-by: never
author | jrose |
---|---|
date | Fri, 08 Jan 2010 13:47:01 -0800 |
parents | e66fd840cb6b |
children | 9eba43136cb5 |
comparison
equal
deleted
inserted
replaced
1153:bea7a22a6f79 | 1155:4e6abf09f540 |
---|---|
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) { |