Home
last modified time | relevance | path

Searched refs:PropertyKind (Results 1 - 25 of 50) sorted by relevance

12

/third_party/node/deps/v8/src/objects/
H A Dtransitions.h60 Map SearchTransition(Name name, PropertyKind kind,
63 Isolate* isolate, Handle<Map> map, Name name, PropertyKind kind,
104 static bool IsMatchingMap(Map target, Name name, PropertyKind kind,
300 inline Map SearchAndGetTargetForTesting(PropertyKind kind, Name name,
337 int Search(PropertyKind kind, Name name, PropertyAttributes attributes,
340 V8_EXPORT_PRIVATE Map SearchAndGetTarget(PropertyKind kind, Name name,
350 int SearchDetails(int transition, PropertyKind kind,
352 Map SearchDetailsAndGetTarget(int transition, PropertyKind kind,
369 static inline int CompareKeys(Name key1, uint32_t hash1, PropertyKind kind1,
371 uint32_t hash2, PropertyKind kind
[all...]
H A Dproperty.cc61 PropertyKind kind, PropertyAttributes attributes, in Descriptor()
92 PropertyDetails details(PropertyKind::kData, attributes, in DataField()
101 return Descriptor(key, MaybeObjectHandle(value), PropertyKind::kData, in DataConstant()
118 return Descriptor(key, MaybeObjectHandle(foreign), PropertyKind::kAccessor, in AccessorConstant()
127 os << (kind() == PropertyKind::kData ? "data" : "accessor"); in PrintAsSlowTo()
138 os << (kind() == PropertyKind::kData ? "data" : "accessor"); in PrintAsFastTo()
H A Dproperty-details.h87 enum class PropertyKind { kData = 0, kAccessor = 1 }; class
268 constexpr PropertyDetails(PropertyKind kind, PropertyAttributes attributes, in PropertyDetails()
282 constexpr PropertyDetails(PropertyKind kind, PropertyAttributes attributes, in PropertyDetails()
293 constexpr PropertyDetails(PropertyKind kind, PropertyAttributes attributes, in PropertyDetails()
306 return PropertyDetails(PropertyKind::kData, NONE, cell_type); in Empty()
359 PropertyKind kind() const { return KindField::decode(value_); } in kind()
367 bool HasKindAndAttributes(PropertyKind kind, PropertyAttributes attributes) { in HasKindAndAttributes()
400 using KindField = base::BitField<PropertyKind, 0, 1>;
H A Dmap-updater.cc189 new_kind_ = PropertyKind::kData; in ReconfigureToDataField()
617 DCHECK_EQ(PropertyKind::kData, old_details.kind()); in FindRootMap()
618 DCHECK_EQ(PropertyKind::kData, new_kind_); in FindRootMap()
653 if (old_details.kind() == PropertyKind::kAccessor && in FindTargetMap()
750 if (old_details.kind() == PropertyKind::kAccessor && in FindTargetMap()
809 PropertyKind next_kind = old_details.kind(); in BuildDescriptorArray()
853 if (next_kind == PropertyKind::kData) { in BuildDescriptorArray()
868 DCHECK_EQ(PropertyKind::kAccessor, next_kind); in BuildDescriptorArray()
880 PropertyKind next_kind = old_details.kind(); in BuildDescriptorArray()
900 if (next_kind == PropertyKind in BuildDescriptorArray()
[all...]
H A Dtransitions.cc224 Map TransitionsAccessor::SearchTransition(Name name, PropertyKind kind, in SearchTransition()
269 Map target = SearchTransition(*name, PropertyKind::kData, attributes); in FindTransitionToDataProperty()
273 DCHECK_EQ(PropertyKind::kData, details.kind()); in FindTransitionToDataProperty()
323 PropertyKind kind, in IsMatchingMap()
640 int TransitionArray::SearchDetails(int transition, PropertyKind kind, in SearchDetails()
665 PropertyKind kind,
687 int TransitionArray::Search(PropertyKind kind, Name name,
695 Map TransitionArray::SearchAndGetTarget(PropertyKind kind, Name name,
727 PropertyKind kind = PropertyKind
[all...]
H A Dmap-updater.h79 PropertyKind kind,
231 PropertyKind new_kind_ = PropertyKind::kData;
H A Dtransitions-inl.h193 PropertyKind kind, Name name, PropertyAttributes attributes) { in SearchAndGetTargetForTesting()
258 Isolate* isolate, Handle<Map> map, Name name, PropertyKind kind, in SearchTransition()
280 int TransitionArray::CompareKeys(Name key1, uint32_t hash1, PropertyKind kind1, in CompareKeys()
282 uint32_t hash2, PropertyKind kind2, in CompareKeys()
300 int TransitionArray::CompareDetails(PropertyKind kind1, in CompareDetails()
302 PropertyKind kind2, in CompareDetails()
355 DCHECK_EQ(PropertyKind::kData, details.kind()); in ExpectedTransitionKey()
H A Dliteral-objects.cc175 value_kind != ClassBoilerplate::kData ? PropertyKind::kAccessor in AddToDictionaryTemplate()
176 : PropertyKind::kData, in AddToDictionaryTemplate()
226 PropertyKind::kData, DONT_ENUM, in AddToDictionaryTemplate()
288 PropertyKind::kData, DONT_ENUM, in AddToDictionaryTemplate()
301 PropertyKind::kData, DONT_ENUM, in AddToDictionaryTemplate()
329 PropertyKind::kAccessor, DONT_ENUM, in AddToDictionaryTemplate()
346 PropertyKind::kAccessor, DONT_ENUM, in AddToDictionaryTemplate()
361 PropertyKind::kData, DONT_ENUM, in AddToDictionaryTemplate()
453 PropertyKind kind = in AddConstant()
454 is_accessor ? i::PropertyKind in AddConstant()
[all...]
H A Dlookup.cc379 DCHECK_EQ(PropertyKind::kData, property_details_.kind()); in PrepareForDataProperty()
489 isolate_, old_map, descriptor_number(), i::PropertyKind::kData, in ReconfigureDataProperty()
516 PropertyDetails details(PropertyKind::kData, attributes, in ReconfigureDataProperty()
528 PropertyDetails details(PropertyKind::kData, attributes, in ReconfigureDataProperty()
592 PropertyDetails(PropertyKind::kData, attributes, in PrepareTransitionToDataProperty()
600 PropertyDetails(PropertyKind::kData, attributes, in PrepareTransitionToDataProperty()
617 PropertyDetails(PropertyKind::kData, attributes, in PrepareTransitionToDataProperty()
812 PropertyDetails details(PropertyKind::kAccessor, attributes, in TransitionToAccessorPair()
904 DCHECK_EQ(PropertyKind::kData, property_details_.kind()); in FetchValue()
1019 DCHECK_EQ(PropertyKind in GetFieldDescriptorIndex()
[all...]
H A Dproperty-descriptor.cc65 if (details.kind() == PropertyKind::kData) { in ToPropertyDescriptorFastPath()
70 DCHECK_EQ(PropertyKind::kAccessor, details.kind()); in ToPropertyDescriptorFastPath()
77 if (details.kind() == PropertyKind::kData) { in ToPropertyDescriptorFastPath()
80 DCHECK_EQ(PropertyKind::kAccessor, details.kind()); in ToPropertyDescriptorFastPath()
H A Dproperty.h65 PropertyKind kind, PropertyAttributes attributes,
H A Dmap.cc675 old_details.kind() == PropertyKind::kData) {
747 if (new_details.kind() == PropertyKind::kData) {
754 DCHECK_EQ(PropertyKind::kData, old_details.kind());
762 DCHECK_EQ(PropertyKind::kAccessor, new_details.kind());
1768 if (details.kind() == PropertyKind::kData) { in CanHoldValue()
1773 DCHECK_EQ(PropertyKind::kAccessor, details.kind()); in CanHoldValue()
1780 DCHECK_EQ(PropertyKind::kAccessor, details.kind()); in CanHoldValue()
1837 isolate, map, *name, PropertyKind::kData, attributes); in TransitionToDataProperty()
1931 isolate, map, *name, PropertyKind::kAccessor, attributes); in TransitionToAccessorProperty()
1938 DCHECK_EQ(PropertyKind in TransitionToAccessorProperty()
[all...]
H A Dmodule.cc347 PropertyDetails(PropertyKind::kAccessor, attr, in GetModuleNamespace()
352 PropertyDetails(PropertyKind::kAccessor, attr, in GetModuleNamespace()
H A Djs-objects.cc337 if (details.kind() == PropertyKind::kData) { in FastAssign()
2139 if (details.kind() == PropertyKind::kData) { in FastGetOwnValuesOrEntries()
3044 DCHECK_EQ(PropertyKind::kData, details.kind()); in MigrateFastToFast()
3093 DCHECK_EQ(PropertyKind::kData, details.kind()); in MigrateFastToFast()
3099 if (old_details.kind() == PropertyKind::kAccessor) { in MigrateFastToFast()
3109 DCHECK_EQ(PropertyKind::kData, old_details.kind()); in MigrateFastToFast()
3137 DCHECK_EQ(PropertyKind::kData, details.kind()); in MigrateFastToFast()
3227 if (details.kind() == PropertyKind::kData) { in MigrateFastToSlow()
3235 DCHECK_EQ(PropertyKind::kAccessor, details.kind()); in MigrateFastToSlow()
3711 PropertyKind kin in MigrateSlowToFast()
[all...]
/third_party/node/deps/v8/tools/debug_helper/
H A Ddebug-helper-internal.cc30 d::PropertyKind GetArrayKind(d::MemoryAccessResult mem_result) { in GetArrayKind()
31 d::PropertyKind indexed_field_kind{}; in GetArrayKind()
34 indexed_field_kind = d::PropertyKind::kArrayOfKnownSize; in GetArrayKind()
38 d::PropertyKind::kArrayOfUnknownSizeDueToInvalidMemory; in GetArrayKind()
42 d::PropertyKind::kArrayOfUnknownSizeDueToValidButInaccessibleMemory; in GetArrayKind()
H A Ddebug-helper.h62 enum class PropertyKind { class
126 PropertyKind kind;
H A Dget-object-properties.cc495 d::PropertyKind::kSingle));
530 d::PropertyKind::kArrayOfKnownSize));
678 d::PropertyKind::kSingle)); in GetStackFrame()
706 d::PropertyKind::kSingle)); in GetStackFrame()
711 d::PropertyKind::kSingle)); in GetStackFrame()
736 d::PropertyKind::kSingle)); in GetStackFrame()
757 d::PropertyKind::kSingle)); in GetStackFrame()
H A Ddebug-helper-internal.h86 d::PropertyKind kind) in ObjectProperty()
115 d::PropertyKind kind_;
244 // into the corresponding PropertyKind for the array.
245 d::PropertyKind GetArrayKind(d::MemoryAccessResult mem_result);
/third_party/node/deps/v8/src/api/
H A Dapi-natives.cc245 PropertyKind kind = details.kind(); in ConfigureInstance()
247 if (kind == PropertyKind::kData) { in ConfigureInstance()
266 DCHECK_EQ(PropertyKind::kData, details.kind()); in ConfigureInstance()
628 PropertyDetails details(PropertyKind::kData, attributes, in AddDataProperty()
640 PropertyDetails details(PropertyKind::kData, attributes, in AddDataProperty()
655 PropertyDetails details(PropertyKind::kAccessor, attributes, in AddAccessorProperty()
/third_party/node/deps/v8/src/compiler/
H A Daccess-info.cc654 if (details.kind() == PropertyKind::kData) { in ComputeDictionaryProtoAccessInfo()
770 if (details.kind() == PropertyKind::kData && holder.has_value()) { in ComputePropertyAccessInfo()
814 if (details.kind() == PropertyKind::kData) { in ComputePropertyAccessInfo()
818 DCHECK_EQ(PropertyKind::kAccessor, details.kind()); in ComputePropertyAccessInfo()
824 DCHECK_EQ(PropertyKind::kAccessor, details.kind()); in ComputePropertyAccessInfo()
1092 .SearchTransition(*name.object(), PropertyKind::kData, attrs); in LookupTransition()
H A Dcompilation-dependencies.h54 // If PropertyKind is kData, |constant| is the value of the property in
55 // question. In case of PropertyKind::kAccessor, |constant| is the accessor
60 PropertyKind kind);
/third_party/node/deps/v8/src/runtime/
H A Druntime-classes.cc302 details.kind() == PropertyKind::kData) { in AddDescriptorsByTemplate()
324 if (details.kind() == PropertyKind::kData) { in AddDescriptorsByTemplate()
331 DCHECK_EQ(PropertyKind::kAccessor, details.kind()); in AddDescriptorsByTemplate()
349 details.kind() == PropertyKind::kData) { in AddDescriptorsByTemplate()
H A Druntime-object.cc134 if (details.kind() == PropertyKind::kData && in GeneralizeAllTransitionsToFieldAsMutable()
138 DCHECK_IMPLIES(details.kind() == PropertyKind::kAccessor, in GeneralizeAllTransitionsToFieldAsMutable()
469 PropertyKind::kData, NONE, in RUNTIME_FUNCTION()
818 if (cell.property_details().kind() == PropertyKind::kData) { in RUNTIME_FUNCTION()
831 (dictionary.DetailsAt(entry).kind() == PropertyKind::kData)) { in RUNTIME_FUNCTION()
839 (dictionary.DetailsAt(entry).kind() == PropertyKind::kData)) { in RUNTIME_FUNCTION()
/third_party/node/deps/v8/src/builtins/
H A Dbuiltins-struct.cc60 PropertyKind::kData, SEALED, PropertyLocation::kField, in BUILTIN()
/third_party/node/deps/v8/tools/v8windbg/src/
H A Dv8-debug-helper-interop.cc94 if (source_prop.kind != d::PropertyKind::kSingle) { in GetPropertiesAsVector()

Completed in 30 milliseconds

12