Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 650dc8f46d2f6c9611ceda7344923047b4e40589..e110c989bb6dd208a04441f505185c503c47b370 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -4897,6 +4897,7 @@ bool Map::CanTransition() { |
} |
+bool Map::IsBooleanMap() { return this == GetHeap()->boolean_map(); } |
bool Map::IsPrimitiveMap() { |
STATIC_ASSERT(FIRST_PRIMITIVE_TYPE == FIRST_TYPE); |
return instance_type() <= LAST_PRIMITIVE_TYPE; |