comparison 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
comparison
equal deleted inserted replaced
13174:b00553202ec2 13175:85b60abfd11f
1094 void CodeStrings::print_block_comment(outputStream* stream, intptr_t offset) const { 1094 void CodeStrings::print_block_comment(outputStream* stream, intptr_t offset) const {
1095 if (_strings != NULL) { 1095 if (_strings != NULL) {
1096 CodeString* c = find(offset); 1096 CodeString* c = find(offset);
1097 while (c && c->offset() == offset) { 1097 while (c && c->offset() == offset) {
1098 stream->bol(); 1098 stream->bol();
1099 stream->print(" ;; "); 1099 stream->print_raw(" ;; ");
1100 stream->print_cr(c->string()); 1100 // Don't interpret as format strings since it could contain %
1101 stream->print_raw_cr(c->string());
1101 c = c->next_comment(); 1102 c = c->next_comment();
1102 } 1103 }
1103 } 1104 }
1104 } 1105 }
1105 1106