hotspot/src/share/vm/opto/callGenerator.hpp
changeset 4567 7fc02fbe5c7a
parent 4566 b363f6ef4068
child 5547 f4b087cbb361
--- a/hotspot/src/share/vm/opto/callGenerator.hpp	Tue Jan 05 13:05:58 2010 +0100
+++ b/hotspot/src/share/vm/opto/callGenerator.hpp	Tue Jan 05 15:21:25 2010 +0100
@@ -117,6 +117,12 @@
                                            CallGenerator* if_hit,
                                            float hit_prob);
 
+  // How to make a call that optimistically assumes a MethodHandle target:
+  static CallGenerator* for_predicted_dynamic_call(ciMethodHandle* predicted_method_handle,
+                                                   CallGenerator* if_missed,
+                                                   CallGenerator* if_hit,
+                                                   float hit_prob);
+
   // How to make a call that gives up and goes back to the interpreter:
   static CallGenerator* for_uncommon_trap(ciMethod* m,
                                           Deoptimization::DeoptReason reason,