equal
deleted
inserted
replaced
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, |