diff src/share/vm/graal/graalCodeInstaller.hpp @ 3572:076a2c9caf71

Factor out runtime call target address determination to avoid redundancy between CodeInstaller::site_Call() and VMEntries.getMaxCallTargetOffset()
author Peter Hofer <peter.hofer@jku.at>
date Tue, 06 Sep 2011 11:18:53 +0200
parents aee1479c0a4b
children 5e9645341ec3
line wrap: on
line diff
--- a/src/share/vm/graal/graalCodeInstaller.hpp	Sat Sep 03 22:08:00 2011 +0200
+++ b/src/share/vm/graal/graalCodeInstaller.hpp	Tue Sep 06 11:18:53 2011 +0200
@@ -88,6 +88,8 @@
   // constructor used to create a stub
   CodeInstaller(Handle target_method, jlong& id);
 
+  static address runtime_call_target_address(oop runtime_call);
+
 private:
   // extract the fields of the CiTargetMethod
   void initialize_fields(Handle target_method);