Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 996a1a7fb925e2308532a1952ce71b9c7e1d4cb2..5dc3e201ae6f68d814b31d007385c0fef75fa4c3 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -4813,6 +4813,10 @@ bool Map::IsPrimitiveMap() { |
STATIC_ASSERT(FIRST_PRIMITIVE_TYPE == FIRST_TYPE); |
return instance_type() <= LAST_PRIMITIVE_TYPE; |
} |
+bool Map::IsJSReceiverMap() { |
+ STATIC_ASSERT(LAST_JS_RECEIVER_TYPE == LAST_TYPE); |
+ return instance_type() >= FIRST_JS_RECEIVER_TYPE; |
+} |
bool Map::IsJSObjectMap() { |
STATIC_ASSERT(LAST_JS_OBJECT_TYPE == LAST_TYPE); |
return instance_type() >= FIRST_JS_OBJECT_TYPE; |