Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 8fdbd1b29fe17747243a453339d614af4b76623a..64d0a93cc832bec9ba50a10654e26cf7d837d42f 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -2229,9 +2229,6 @@ |
} |
} |
-inline bool IsSpecialReceiverInstanceType(InstanceType instance_type) { |
- return instance_type <= LAST_SPECIAL_RECEIVER_TYPE; |
-} |
int JSObject::GetInternalFieldCount(Map* map) { |
int instance_size = map->instance_size(); |
@@ -4977,12 +4974,6 @@ |
bool Map::IsJSTypedArrayMap() { return instance_type() == JS_TYPED_ARRAY_TYPE; } |
bool Map::IsJSDataViewMap() { return instance_type() == JS_DATA_VIEW_TYPE; } |
-bool Map::IsSpecialReceiverMap() { |
- bool result = IsSpecialReceiverInstanceType(instance_type()); |
- DCHECK_IMPLIES(!result, |
- !has_named_interceptor() && !is_access_check_needed()); |
- return result; |
-} |
bool Map::CanOmitMapChecks() { |
return is_stable() && FLAG_omit_map_checks_for_leaf_maps; |