< prev index next >

src/share/vm/ci/ciInstanceKlass.hpp

Print this page

        

@@ -183,10 +183,11 @@
     return _is_anonymous;
   }
 
   ciInstanceKlass* get_canonical_holder(int offset);
   ciField* get_field_by_offset(int field_offset, bool is_static);
+  ciType*  get_field_type_by_offset(int field_offset);
   ciField* get_field_by_name(ciSymbol* name, ciSymbol* signature, bool is_static);
 
   // total number of nonstatic fields (including inherited):
   int nof_nonstatic_fields() {
     if (_nonstatic_fields == NULL)

@@ -210,11 +211,11 @@
 
   ciInstanceKlass* unique_concrete_subklass();
   bool has_finalizable_subclass();
 
   bool contains_field_offset(int offset) {
-    return instanceOopDesc::contains_field_offset(offset, nonstatic_field_size());
+    return instanceOopDesc::contains_field_offset(offset, nonstatic_field_size(), is_valuetype());
   }
 
   // Get the instance of java.lang.Class corresponding to
   // this klass.  This instance is used for locking of
   // synchronized static methods of this klass.
< prev index next >