Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index b6e0eaca94a8871cc780adea4225941fb672709c..ad31f91f1f893c27d500e2b7379ca2b0aa1f7536 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -12844,12 +12844,12 @@ void JSArray::JSArrayUpdateLengthFromIndex(Handle<JSArray> array, |
bool JSArray::IsReadOnlyLengthDescriptor(Handle<Map> jsarray_map) { |
- Isolate* isolate = jsarray_map->GetIsolate(); |
- DCHECK(!jsarray_map->is_dictionary_map()); |
- LookupResult lookup(isolate); |
- Handle<Name> length_string = isolate->factory()->length_string(); |
- jsarray_map->LookupDescriptor(NULL, *length_string, &lookup); |
- return lookup.IsReadOnly(); |
+ Isolate* isolate = jsarray_map->GetIsolate(); |
+ DCHECK(!jsarray_map->is_dictionary_map()); |
+ LookupResult lookup(isolate); |
+ Handle<Name> length_string = isolate->factory()->length_string(); |
+ jsarray_map->LookupDescriptor(NULL, *length_string, &lookup); |
+ return lookup.IsReadOnly(); |
} |
@@ -14615,13 +14615,6 @@ Handle<Object> ExternalFloat64Array::SetValue( |
} |
-PropertyCell* GlobalObject::GetPropertyCell(LookupResult* result) { |
- DCHECK(!HasFastProperties()); |
- Object* value = property_dictionary()->ValueAt(result->GetDictionaryEntry()); |
- return PropertyCell::cast(value); |
-} |
- |
- |
Handle<PropertyCell> JSGlobalObject::EnsurePropertyCell( |
Handle<JSGlobalObject> global, |
Handle<Name> name) { |