changeset 9897:5460c427c0dc

8200556, PR3566: AArch64: assertion failure in slowdebug builds Reviewed-by: adinn
author aph
date Mon, 23 Apr 2018 19:32:41 +0100
parents 6275d7b41909
children ffd5260fe5ad
files src/cpu/aarch64/vm/nativeInst_aarch64.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/cpu/aarch64/vm/nativeInst_aarch64.cpp	Mon May 28 08:01:18 2012 -0400
+++ b/src/cpu/aarch64/vm/nativeInst_aarch64.cpp	Mon Apr 23 19:32:41 2018 +0100
@@ -302,7 +302,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);