hotspot/src/cpu/s390/vm/c1_CodeStubs_s390.cpp
changeset 46620 750c6edff33b
parent 42065 6032b31e3719
child 46625 edefffab74e2
equal deleted inserted replaced
46619:a3919f5e8d2b 46620:750c6edff33b
   282   default: bc = "patch site (unknown patch id)"; break;
   282   default: bc = "patch site (unknown patch id)"; break;
   283   }
   283   }
   284   masm->block_comment(bc);
   284   masm->block_comment(bc);
   285 #endif
   285 #endif
   286 
   286 
   287   masm->align(round_to(NativeGeneralJump::instruction_size, wordSize));
   287   masm->align(align_up((int)NativeGeneralJump::instruction_size, wordSize));
   288 }
   288 }
   289 
   289 
   290 void PatchingStub::emit_code(LIR_Assembler* ce) {
   290 void PatchingStub::emit_code(LIR_Assembler* ce) {
   291   // Copy original code here.
   291   // Copy original code here.
   292   assert(NativeGeneralJump::instruction_size <= _bytes_to_copy && _bytes_to_copy <= 0xFF,
   292   assert(NativeGeneralJump::instruction_size <= _bytes_to_copy && _bytes_to_copy <= 0xFF,