Mercurial > hg > graal-compiler
diff src/share/vm/oops/instanceKlass.hpp @ 3255:5d046bf49ce7
Merge
author | johnc |
---|---|
date | Thu, 14 Apr 2011 13:45:41 -0700 |
parents | ed69575596ac 92add02409c9 |
children | 2d4b2b833d29 |
line wrap: on
line diff
--- a/src/share/vm/oops/instanceKlass.hpp Sat Apr 09 21:16:12 2011 -0700 +++ b/src/share/vm/oops/instanceKlass.hpp Thu Apr 14 13:45:41 2011 -0700 @@ -401,6 +401,8 @@ ReferenceType reference_type() const { return _reference_type; } void set_reference_type(ReferenceType t) { _reference_type = t; } + static int reference_type_offset_in_bytes() { return offset_of(instanceKlass, _reference_type); } + // find local field, returns true if found bool find_local_field(Symbol* name, Symbol* sig, fieldDescriptor* fd) const; // find field in direct superinterfaces, returns the interface in which the field is defined