< prev index next >

src/hotspot/share/ci/ciValueKlass.hpp

Print this page




  55 
  56   int nof_declared_nonstatic_fields() {
  57     if (_declared_nonstatic_fields == NULL) {
  58       compute_nonstatic_fields();
  59     }
  60     return _declared_nonstatic_fields->length();
  61   }
  62 
  63   // ith non-static declared field (presented by ascending address)
  64   ciField* declared_nonstatic_field_at(int i) {
  65     assert(_declared_nonstatic_fields != NULL, "should be initialized");
  66     return _declared_nonstatic_fields->at(i);
  67   }
  68 
  69   // Value type fields
  70   int first_field_offset() const;
  71   int field_index_by_offset(int offset);
  72 
  73   bool flatten_array() const;
  74   bool can_be_returned_as_fields() const;
  75   bool is_bufferable() const;
  76   int value_arg_slots();
  77   int default_value_offset() const;
  78   ciInstance* default_value_instance() const;
  79   bool contains_oops() const;
  80 };
  81 
  82 #endif // SHARE_VM_CI_CIVALUEKLASS_HPP


  55 
  56   int nof_declared_nonstatic_fields() {
  57     if (_declared_nonstatic_fields == NULL) {
  58       compute_nonstatic_fields();
  59     }
  60     return _declared_nonstatic_fields->length();
  61   }
  62 
  63   // ith non-static declared field (presented by ascending address)
  64   ciField* declared_nonstatic_field_at(int i) {
  65     assert(_declared_nonstatic_fields != NULL, "should be initialized");
  66     return _declared_nonstatic_fields->at(i);
  67   }
  68 
  69   // Value type fields
  70   int first_field_offset() const;
  71   int field_index_by_offset(int offset);
  72 
  73   bool flatten_array() const;
  74   bool can_be_returned_as_fields() const;

  75   int value_arg_slots();
  76   int default_value_offset() const;
  77   ciInstance* default_value_instance() const;
  78   bool contains_oops() const;
  79 };
  80 
  81 #endif // SHARE_VM_CI_CIVALUEKLASS_HPP
< prev index next >