1.1 --- a/src/share/vm/asm/assembler.cpp Sat Mar 16 21:44:52 2013 -0700 1.2 +++ b/src/share/vm/asm/assembler.cpp Mon Mar 18 13:19:06 2013 +0100 1.3 @@ -284,15 +284,19 @@ 1.4 DelayedConstant::update_all(); 1.5 } 1.6 1.7 - 1.8 - 1.9 - 1.10 void AbstractAssembler::block_comment(const char* comment) { 1.11 if (sect() == CodeBuffer::SECT_INSTS) { 1.12 code_section()->outer()->block_comment(offset(), comment); 1.13 } 1.14 } 1.15 1.16 +const char* AbstractAssembler::code_string(const char* str) { 1.17 + if (sect() == CodeBuffer::SECT_INSTS || sect() == CodeBuffer::SECT_STUBS) { 1.18 + return code_section()->outer()->code_string(str); 1.19 + } 1.20 + return NULL; 1.21 +} 1.22 + 1.23 bool MacroAssembler::needs_explicit_null_check(intptr_t offset) { 1.24 // Exception handler checks the nmethod's implicit null checks table 1.25 // only when this method returns false.