mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 09:34:38 +02:00
8266252: Streamline AbstractInterpreter::method_kind
Reviewed-by: iklam, coleenp
This commit is contained in:
parent
b823b3ef29
commit
e41fd73529
4 changed files with 57 additions and 62 deletions
|
@ -620,11 +620,6 @@ void Method::compute_from_signature(Symbol* sig) {
|
|||
constMethod()->set_fingerprint(fp.fingerprint());
|
||||
}
|
||||
|
||||
bool Method::is_empty_method() const {
|
||||
return code_size() == 1
|
||||
&& *code_base() == Bytecodes::_return;
|
||||
}
|
||||
|
||||
bool Method::is_vanilla_constructor() const {
|
||||
// Returns true if this method is a vanilla constructor, i.e. an "<init>" "()V" method
|
||||
// which only calls the superclass vanilla constructor and possibly does stores of
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue