Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 79dda37866f3e452ed6d1a33862e8375d5fe68b5..9ab190877fde15240a96db94d1cb6a3c8d91240a 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -8440,9 +8440,8 @@ bool Map::OnlyHasSimpleProperties() { |
// Wrapped string elements aren't explicitly stored in the elements backing |
// store, but are loaded indirectly from the underlying string. |
return !IsStringWrapperElementsKind(elements_kind()) && |
- !is_access_check_needed() && !has_named_interceptor() && |
- !has_indexed_interceptor() && !has_hidden_prototype() && |
- !is_dictionary_map(); |
+ instance_type() > LAST_SPECIAL_RECEIVER_TYPE && |
+ !has_hidden_prototype() && !is_dictionary_map(); |
} |
namespace { |