8001077: remove ciMethod::will_link

Removed will_link and changed all calls to is_loaded().

Reviewed-by: kvn
This commit is contained in:
Bharadwaj Yadavalli 2012-11-15 10:42:06 -08:00
parent f712e12f98
commit 4b288c8976
5 changed files with 3 additions and 25 deletions

View file

@ -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
//