Mercurial > hg > graal-compiler
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/asm/codeBuffer.hpp Thu Sep 20 16:49:17 2012 +0200 +++ b/src/share/vm/asm/codeBuffer.hpp Mon Sep 24 10:30:14 2012 -0700 @@ -253,7 +253,7 @@ } void add_comment(intptr_t offset, const char * comment) PRODUCT_RETURN; - void print_block_comment(outputStream* stream, intptr_t offset) PRODUCT_RETURN; + void print_block_comment(outputStream* stream, intptr_t offset) const PRODUCT_RETURN; void assign(CodeComments& other) PRODUCT_RETURN; void free() PRODUCT_RETURN; };