Index: src/property.h |
diff --git a/src/property.h b/src/property.h |
index 889492a780fa0c0887960b55af5aefe768167827..177f06b7694094700fdc4a6591c67e7d289af2aa 100644 |
--- a/src/property.h |
+++ b/src/property.h |
@@ -37,19 +37,19 @@ class Descriptor final BASE_EMBEDDED { |
PropertyAttributes attributes, |
Representation representation) { |
DCHECK(wrapped_field_type->IsSmi() || wrapped_field_type->IsWeakCell()); |
- return Descriptor(key, wrapped_field_type, attributes, DATA, representation, |
- field_index); |
+ return Descriptor(key, wrapped_field_type, kData, attributes, kField, |
+ representation, field_index); |
} |
static Descriptor DataConstant(Handle<Name> key, Handle<Object> value, |
PropertyAttributes attributes) { |
- return Descriptor(key, value, attributes, DATA_CONSTANT, |
+ return Descriptor(key, value, kData, attributes, kDescriptor, |
value->OptimalRepresentation()); |
} |
static Descriptor AccessorConstant(Handle<Name> key, Handle<Object> foreign, |
PropertyAttributes attributes) { |
- return Descriptor(key, foreign, attributes, ACCESSOR_CONSTANT, |
+ return Descriptor(key, foreign, kAccessor, attributes, kDescriptor, |
Representation::Tagged()); |
} |
@@ -73,12 +73,12 @@ class Descriptor final BASE_EMBEDDED { |
DCHECK_IMPLIES(key->IsPrivate(), !details_.IsEnumerable()); |
} |
- Descriptor(Handle<Name> key, Handle<Object> value, |
- PropertyAttributes attributes, PropertyType type, |
+ Descriptor(Handle<Name> key, Handle<Object> value, PropertyKind kind, |
+ PropertyAttributes attributes, PropertyLocation location, |
Representation representation, int field_index = 0) |
: key_(key), |
value_(value), |
- details_(attributes, type, representation, field_index) { |
+ details_(kind, attributes, location, representation, field_index) { |
DCHECK(key->IsUniqueName()); |
DCHECK_IMPLIES(key->IsPrivate(), !details_.IsEnumerable()); |
} |