< prev index next >

src/cpu/aarch64/vm/macroAssembler_aarch64.cpp

Print this page
rev 8746 : 8132875: AArch64: Fix error introduced into AArch64 CodeCache by commit for 8130309
    Summary: The fix for issue 8130309 introduced several errors into the AArch64 codecache routines
    Reviewed-by: adinn

@@ -683,11 +683,12 @@
   if (Assembler::reachable_from_branch_at(pc(), entry.target())) {
     bl(entry.target());
   } else {
     bl(pc());
   }
-  return start_offset;
+  // just need to return a non-null address
+  return pc();
 }
 
 
 // Emit a trampoline stub for a call to a target which is too far away.
 //
< prev index next >