src/share/vm/ci/ciInstanceKlass.hpp

changeset 6050
4d3575d37a07
parent 5914
d13d7aba8c12
child 6198
55fb97c4c58d
     1.1 --- a/src/share/vm/ci/ciInstanceKlass.hpp	Wed Oct 30 13:14:09 2013 +0100
     1.2 +++ b/src/share/vm/ci/ciInstanceKlass.hpp	Wed Oct 30 22:55:11 2013 -0700
     1.3 @@ -52,6 +52,7 @@
     1.4    bool                   _has_finalizer;
     1.5    bool                   _has_subklass;
     1.6    bool                   _has_nonstatic_fields;
     1.7 +  bool                   _has_default_methods;
     1.8  
     1.9    ciFlags                _flags;
    1.10    jint                   _nonstatic_field_size;
    1.11 @@ -171,6 +172,11 @@
    1.12      }
    1.13    }
    1.14  
    1.15 +  bool has_default_methods()  {
    1.16 +    assert(is_loaded(), "must be loaded");
    1.17 +    return _has_default_methods;
    1.18 +  }
    1.19 +
    1.20    ciInstanceKlass* get_canonical_holder(int offset);
    1.21    ciField* get_field_by_offset(int field_offset, bool is_static);
    1.22    ciField* get_field_by_name(ciSymbol* name, ciSymbol* signature, bool is_static);

mercurial