Mercurial > hg > graal-jvmci-8
diff src/share/vm/code/nmethod.cpp @ 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 | 137868b7aa6f |
children | f2e12eb74117 |
line wrap: on
line diff
--- a/src/share/vm/code/nmethod.cpp Thu Sep 20 16:49:17 2012 +0200 +++ b/src/share/vm/code/nmethod.cpp Mon Sep 24 10:30:14 2012 -0700 @@ -2672,7 +2672,7 @@ return NULL; } -void nmethod::print_nmethod_labels(outputStream* stream, address block_begin) { +void nmethod::print_nmethod_labels(outputStream* stream, address block_begin) const { if (block_begin == entry_point()) stream->print_cr("[Entry Point]"); if (block_begin == verified_entry_point()) stream->print_cr("[Verified Entry Point]"); if (block_begin == exception_begin()) stream->print_cr("[Exception Handler]");