Lines Matching defs:const

41 static const int kPropertyAttributesBitsCount = 3;
43 static const int kPropertyAttributesCombinationsCount =
129 bool Equals(const Representation& other) const {
133 bool IsCompatibleForLoad(const Representation& other) const {
137 bool IsCompatibleForStore(const Representation& other) const {
143 bool MightCauseMapDeprecation() const {
159 bool CanBeInPlaceChangedTo(const Representation& other) const {
176 Representation MostGenericInPlaceChange() const {
181 bool is_more_general_than(const Representation& other) const {
187 bool fits_into(const Representation& other) const {
197 int size() const {
204 constexpr Kind kind() const { return static_cast<Kind>(kind_); }
205 constexpr bool IsNone() const { return kind_ == kNone; }
206 constexpr bool IsWasmValue() const { return kind_ == kWasmValue; }
207 constexpr bool IsTagged() const { return kind_ == kTagged; }
208 constexpr bool IsSmi() const { return kind_ == kSmi; }
209 constexpr bool IsSmiOrTagged() const { return IsSmi() || IsTagged(); }
210 constexpr bool IsDouble() const { return kind_ == kDouble; }
211 constexpr bool IsHeapObject() const { return kind_ == kHeapObject; }
213 const char* Mnemonic() const {
240 static const int kDescriptorIndexBitCount = 10;
241 static const int kFirstInobjectPropertyOffsetBitCount = 7;
245 static const int kMaxNumberOfDescriptors = (1 << kDescriptorIndexBitCount) - 4;
246 static const int kInvalidEnumCacheSentinel =
309 bool operator==(PropertyDetails const& other) {
313 bool operator!=(PropertyDetails const& other) {
317 int pointer() const { return DescriptorPointer::decode(value_); }
319 PropertyDetails set_pointer(int i) const {
323 PropertyDetails set_cell_type(PropertyCellType type) const {
329 PropertyDetails set_index(int index) const {
335 PropertyDetails CopyWithRepresentation(Representation representation) const {
338 PropertyDetails CopyWithConstness(PropertyConstness constness) const {
341 PropertyDetails CopyAddAttributes(PropertyAttributes new_attributes) const {
349 inline Smi AsSmi() const;
359 PropertyKind kind() const { return KindField::decode(value_); }
360 PropertyLocation location() const { return LocationField::decode(value_); }
361 PropertyConstness constness() const { return ConstnessField::decode(value_); }
363 PropertyAttributes attributes() const {
372 int dictionary_index() const {
376 Representation representation() const {
380 int field_index() const { return FieldIndexField::decode(value_); }
382 inline int field_width_in_words() const;
388 bool IsReadOnly() const { return (attributes() & READ_ONLY) != 0; }
389 bool IsConfigurable() const { return (attributes() & DONT_DELETE) == 0; }
390 bool IsDontEnum() const { return (attributes() & DONT_ENUM) != 0; }
391 bool IsEnumerable() const { return !IsDontEnum(); }
392 PropertyCellType cell_type() const {
396 bool operator==(const PropertyDetails& b) const { return value_ == b.value_; }
403 static const int kAttributesReadOnlyMask =
405 static const int kAttributesDontDeleteMask =
407 static const int kAttributesDontEnumMask =
436 static const int kInitialIndex = 1;
531 std::ostream& os, const Representation& representation);
533 std::ostream& os, const PropertyAttributes& attributes);