mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
8001077: remove ciMethod::will_link
Removed will_link and changed all calls to is_loaded(). Reviewed-by: kvn
This commit is contained in:
parent
f712e12f98
commit
4b288c8976
5 changed files with 3 additions and 25 deletions
|
@ -875,25 +875,6 @@ ciMethodData* ciMethod::method_data_or_null() {
|
|||
return md;
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
// ciMethod::will_link
|
||||
//
|
||||
// Will this method link in a specific calling context?
|
||||
bool ciMethod::will_link(ciKlass* accessing_klass,
|
||||
ciKlass* declared_method_holder,
|
||||
Bytecodes::Code bc) {
|
||||
if (!is_loaded()) {
|
||||
// Method lookup failed.
|
||||
return false;
|
||||
}
|
||||
|
||||
// The link checks have been front-loaded into the get_method
|
||||
// call. This method (ciMethod::will_link()) will be removed
|
||||
// in the future.
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
// ciMethod::should_exclude
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue