Mercurial > hg > truffle
comparison src/share/vm/asm/codeBuffer.hpp @ 6796:b31471cdc53e
7200163: add CodeComments functionality to assember stubs
Summary: Pass the codeBuffer to the Stub constructor, and adapts the disassembler to print the comments.
Reviewed-by: jrose, kvn, twisti
Contributed-by: goetz.lindenmaier@sap.com
author | kvn |
---|---|
date | Mon, 24 Sep 2012 10:30:14 -0700 |
parents | da91efe96a93 |
children | 6ab62ad83507 |
comparison
equal
deleted
inserted
replaced
6795:7eca5de9e0b6 | 6796:b31471cdc53e |
---|---|
251 _comments = NULL; | 251 _comments = NULL; |
252 #endif | 252 #endif |
253 } | 253 } |
254 | 254 |
255 void add_comment(intptr_t offset, const char * comment) PRODUCT_RETURN; | 255 void add_comment(intptr_t offset, const char * comment) PRODUCT_RETURN; |
256 void print_block_comment(outputStream* stream, intptr_t offset) PRODUCT_RETURN; | 256 void print_block_comment(outputStream* stream, intptr_t offset) const PRODUCT_RETURN; |
257 void assign(CodeComments& other) PRODUCT_RETURN; | 257 void assign(CodeComments& other) PRODUCT_RETURN; |
258 void free() PRODUCT_RETURN; | 258 void free() PRODUCT_RETURN; |
259 }; | 259 }; |
260 | 260 |
261 | 261 |