mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
Merge
This commit is contained in:
commit
634a7fdebc
2789 changed files with 251528 additions and 134705 deletions
|
@ -246,7 +246,7 @@ class Method : public Metadata {
|
|||
int code_size() const { return constMethod()->code_size(); }
|
||||
|
||||
// method size in words
|
||||
int method_size() const { return sizeof(Method)/wordSize + is_native() ? 2 : 0; }
|
||||
int method_size() const { return sizeof(Method)/wordSize + ( is_native() ? 2 : 0 ); }
|
||||
|
||||
// constant pool for Klass* holding this method
|
||||
ConstantPool* constants() const { return constMethod()->constants(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue