Home | History | Annotate | Download | only in src

Lines Matching defs:Descriptor

37 // Abstraction for elements in instance-descriptor arrays.
39 // Each descriptor has a key, property attributes, property type,
40 // property index (in the actual instance-descriptor array) and
44 class Descriptor BASE_EMBEDDED {
79 Descriptor() : details_(Smi::FromInt(0)) {}
87 Descriptor(String* key, Object* value, PropertyDetails details)
92 Descriptor(String* key,
108 class MapTransitionDescriptor: public Descriptor {
111 : Descriptor(key, map, attributes, MAP_TRANSITION) { }
114 class ElementsTransitionDescriptor: public Descriptor {
118 : Descriptor(key, map_or_array, PropertyDetails(NONE,
123 // to create a FIELD descriptor in the new map. Used after adding
125 // descriptor in the new map. This avoids creating multiple maps with
127 class ConstTransitionDescriptor: public Descriptor {
130 : Descriptor(key, map, NONE, CONSTANT_TRANSITION) { }
134 class FieldDescriptor: public Descriptor {
140 : Descriptor(key, Smi::FromInt(field_index), attributes, FIELD, index) {}
144 class ConstantFunctionDescriptor: public Descriptor {
150 : Descriptor(key, function, attributes, CONSTANT_FUNCTION, index) {}
154 class CallbacksDescriptor: public Descriptor {
160 : Descriptor(key, foreign, attributes, CALLBACKS, index) {}
290 // Is the result is a property excluding transitions and the null descriptor?
335 return Descriptor::IndexFromValue(GetValue());
341 return Descriptor::IndexFromValue(