Mercurial > hg > graal-compiler
changeset 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 | b00553202ec2 |
children | 57ea5bfec214 |
files | src/share/vm/asm/codeBuffer.cpp |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
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(); } }