hotspot/src/cpu/aarch64/vm/relocInfo_aarch64.cpp
changeset 35121 e8900e5763ff
parent 33160 c59f1676d27e
child 35159 3ee05e289424
--- a/hotspot/src/cpu/aarch64/vm/relocInfo_aarch64.cpp	Tue Dec 15 13:42:13 2015 +0000
+++ b/hotspot/src/cpu/aarch64/vm/relocInfo_aarch64.cpp	Tue Dec 08 14:26:17 2015 +0000
@@ -59,7 +59,7 @@
 
 address Relocation::pd_call_destination(address orig_addr) {
   assert(is_call(), "should be a call here");
-  if (is_call()) {
+  if (NativeCall::is_call_at(addr())) {
     address trampoline = nativeCall_at(addr())->get_trampoline();
     if (trampoline) {
       return nativeCallTrampolineStub_at(trampoline)->destination();