This commit is contained in:
Vladimir Kozlov 2016-06-24 15:09:00 -07:00
commit 634a7fdebc
2789 changed files with 251528 additions and 134705 deletions

View file

@ -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(); }