Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 37c51d703db1679ba037990d411533734bfa9de5..a23198a2ec1d3f111a1f725f3aa6b52126bd8e83 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -1774,7 +1774,7 @@ bool DescriptorArray::IsDontEnum(int descriptor_number) { |
void DescriptorArray::Get(int descriptor_number, Descriptor* desc) { |
desc->Init(GetKey(descriptor_number), |
GetValue(descriptor_number), |
- GetDetails(descriptor_number)); |
+ PropertyDetails(GetDetails(descriptor_number))); |
} |
@@ -3953,6 +3953,15 @@ void AccessorInfo::set_property_attributes(PropertyAttributes attributes) { |
set_flag(Smi::FromInt(rest_value | AttributesField::encode(attributes))); |
} |
+ |
+template<typename Shape, typename Key> |
+void Dictionary<Shape, Key>::SetEntry(int entry, |
+ Object* key, |
+ Object* value) { |
+ SetEntry(entry, key, value, PropertyDetails(Smi::FromInt(0))); |
+} |
+ |
+ |
template<typename Shape, typename Key> |
void Dictionary<Shape, Key>::SetEntry(int entry, |
Object* key, |