Mercurial > hg > graal-compiler
diff src/share/vm/asm/codeBuffer.cpp @ 13175:85b60abfd11f
Treat block comments as raw strings
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Mon, 25 Nov 2013 15:31:20 -0800 |
parents | b9a918201d47 |
children | d8041d695d19 |
line wrap: on
line diff
--- a/src/share/vm/asm/codeBuffer.cpp Mon Nov 25 15:31:18 2013 -0800 +++ b/src/share/vm/asm/codeBuffer.cpp Mon Nov 25 15:31:20 2013 -0800 @@ -1096,8 +1096,9 @@ CodeString* c = find(offset); while (c && c->offset() == offset) { stream->bol(); - stream->print(" ;; "); - stream->print_cr(c->string()); + stream->print_raw(" ;; "); + // Don't interpret as format strings since it could contain % + stream->print_raw_cr(c->string()); c = c->next_comment(); } }