Mercurial > hg > graal-jvmci-8
diff src/share/vm/graal/graalCodeInstaller.cpp @ 18350:23a2faa68470
converted HotSpotForeignCallLinkage to an interface
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 12 Nov 2014 14:43:58 +0100 |
parents | 56cc1a799a60 |
children | aa4f2e3629ca |
line wrap: on
line diff
--- a/src/share/vm/graal/graalCodeInstaller.cpp Wed Nov 12 14:41:32 2014 +0100 +++ b/src/share/vm/graal/graalCodeInstaller.cpp Wed Nov 12 14:43:58 2014 +0100 @@ -858,7 +858,7 @@ oop hotspot_method = NULL; // JavaMethod oop foreign_call = NULL; - if (target_klass->is_subclass_of(SystemDictionary::HotSpotForeignCallLinkage_klass())) { + if (target_klass->is_subclass_of(SystemDictionary::HotSpotForeignCallLinkageImpl_klass())) { foreign_call = target; } else { hotspot_method = target; @@ -882,7 +882,7 @@ } if (foreign_call != NULL) { - jlong foreign_call_destination = HotSpotForeignCallLinkage::address(foreign_call); + jlong foreign_call_destination = HotSpotForeignCallLinkageImpl::address(foreign_call); CodeInstaller::pd_relocate_ForeignCall(inst, foreign_call_destination); } else { // method != NULL assert(hotspot_method != NULL, "unexpected JavaMethod");