hotspot/src/share/vm/asm/assembler.cpp
changeset 16368 713209c45a82
parent 14837 a75c3082d106
child 17087 f0b76c4c93a0
equal deleted inserted replaced
16366:b54bc5cfaa6d 16368:713209c45a82
   282 }
   282 }
   283 void AbstractAssembler::update_delayed_values() {
   283 void AbstractAssembler::update_delayed_values() {
   284   DelayedConstant::update_all();
   284   DelayedConstant::update_all();
   285 }
   285 }
   286 
   286 
   287 
       
   288 
       
   289 
       
   290 void AbstractAssembler::block_comment(const char* comment) {
   287 void AbstractAssembler::block_comment(const char* comment) {
   291   if (sect() == CodeBuffer::SECT_INSTS) {
   288   if (sect() == CodeBuffer::SECT_INSTS) {
   292     code_section()->outer()->block_comment(offset(), comment);
   289     code_section()->outer()->block_comment(offset(), comment);
   293   }
   290   }
       
   291 }
       
   292 
       
   293 const char* AbstractAssembler::code_string(const char* str) {
       
   294   if (sect() == CodeBuffer::SECT_INSTS || sect() == CodeBuffer::SECT_STUBS) {
       
   295     return code_section()->outer()->code_string(str);
       
   296   }
       
   297   return NULL;
   294 }
   298 }
   295 
   299 
   296 bool MacroAssembler::needs_explicit_null_check(intptr_t offset) {
   300 bool MacroAssembler::needs_explicit_null_check(intptr_t offset) {
   297   // Exception handler checks the nmethod's implicit null checks table
   301   // Exception handler checks the nmethod's implicit null checks table
   298   // only when this method returns false.
   302   // only when this method returns false.