author | aph |
Mon, 23 Apr 2018 19:32:41 +0100 | |
changeset 49871 | 3325ee1c0fc4 |
parent 49870 | 1da3a463a499 |
child 49872 | 0798eab12791 |
--- a/src/hotspot/cpu/aarch64/nativeInst_aarch64.cpp Tue Apr 24 09:35:08 2018 +0200 +++ b/src/hotspot/cpu/aarch64/nativeInst_aarch64.cpp Mon Apr 23 19:32:41 2018 +0100 @@ -368,7 +368,7 @@ CodeBuffer cb(code_pos, instruction_size); MacroAssembler a(&cb); - a.mov(rscratch1, entry); + a.movptr(rscratch1, (uintptr_t)entry); a.br(rscratch1); ICache::invalidate_range(code_pos, instruction_size);