equal
deleted
inserted
replaced
874 if (md->is_empty()) return NULL; |
874 if (md->is_empty()) return NULL; |
875 return md; |
875 return md; |
876 } |
876 } |
877 |
877 |
878 // ------------------------------------------------------------------ |
878 // ------------------------------------------------------------------ |
879 // ciMethod::will_link |
|
880 // |
|
881 // Will this method link in a specific calling context? |
|
882 bool ciMethod::will_link(ciKlass* accessing_klass, |
|
883 ciKlass* declared_method_holder, |
|
884 Bytecodes::Code bc) { |
|
885 if (!is_loaded()) { |
|
886 // Method lookup failed. |
|
887 return false; |
|
888 } |
|
889 |
|
890 // The link checks have been front-loaded into the get_method |
|
891 // call. This method (ciMethod::will_link()) will be removed |
|
892 // in the future. |
|
893 |
|
894 return true; |
|
895 } |
|
896 |
|
897 // ------------------------------------------------------------------ |
|
898 // ciMethod::should_exclude |
879 // ciMethod::should_exclude |
899 // |
880 // |
900 // Should this method be excluded from compilation? |
881 // Should this method be excluded from compilation? |
901 bool ciMethod::should_exclude() { |
882 bool ciMethod::should_exclude() { |
902 check_is_loaded(); |
883 check_is_loaded(); |