< prev index next >

src/share/vm/oops/fieldStreams.hpp

Print this page

        

@@ -36,10 +36,11 @@
 // generally the preferred iterator.  InternalFieldStream only
 // iterates over fields that have been injected by the JVM.
 // AllFieldStream exposes all fields and should only be used in rare
 // cases.
 class FieldStreamBase : public StackObj {
+
  protected:
   Array<u2>*          _fields;
   constantPoolHandle  _constants;
   int                 _index;
   int                 _limit;

@@ -159,10 +160,18 @@
 
   int allocation_type() const {
     return field()->allocation_type();
   }
 
+  bool is_flatten() {
+    return field()->is_flatten();
+  }
+
+  void set_flattening(bool b) {
+    field()->set_flattening(b);
+  }
+
   void set_offset(int offset) {
     field()->set_offset(offset);
   }
 
   bool is_offset_set() const {
< prev index next >