253 // Given a certain calling environment, find the monomorphic target |
253 // Given a certain calling environment, find the monomorphic target |
254 // for the call. Return NULL if the call is not monomorphic in |
254 // for the call. Return NULL if the call is not monomorphic in |
255 // its calling environment. |
255 // its calling environment. |
256 ciMethod* find_monomorphic_target(ciInstanceKlass* caller, |
256 ciMethod* find_monomorphic_target(ciInstanceKlass* caller, |
257 ciInstanceKlass* callee_holder, |
257 ciInstanceKlass* callee_holder, |
258 ciInstanceKlass* actual_receiver); |
258 ciInstanceKlass* actual_receiver, |
|
259 bool check_access = true); |
259 |
260 |
260 // Given a known receiver klass, find the target for the call. |
261 // Given a known receiver klass, find the target for the call. |
261 // Return NULL if the call has no target or is abstract. |
262 // Return NULL if the call has no target or is abstract. |
262 ciMethod* resolve_invoke(ciKlass* caller, ciKlass* exact_receiver); |
263 ciMethod* resolve_invoke(ciKlass* caller, ciKlass* exact_receiver, bool check_access = true); |
263 |
264 |
264 // Find the proper vtable index to invoke this method. |
265 // Find the proper vtable index to invoke this method. |
265 int resolve_vtable_index(ciKlass* caller, ciKlass* receiver); |
266 int resolve_vtable_index(ciKlass* caller, ciKlass* receiver); |
266 |
267 |
267 // Compilation directives |
268 // Compilation directives |