Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 7db9175d41d6604d0f1f12ee2b92753fb412a618..d8b184575dbd24d5cc17a45e9c5ffac12eeb7c01 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -5033,10 +5033,6 @@ bool JSReceiver::HasLocalProperty(String* name) { |
PropertyAttributes JSReceiver::GetPropertyAttribute(String* key) { |
- uint32_t index; |
- if (IsJSObject() && key->AsArrayIndex(&index)) { |
- return GetElementAttribute(index); |
- } |
return GetPropertyAttributeWithReceiver(this, key); |
} |