Index: src/mark-compact.cc |
diff --git a/src/mark-compact.cc b/src/mark-compact.cc |
index 3e4a617b78ae59e3d2b47d076b88febd2ee98f2e..cce7c05bcd58f09ec059071377634da5c1d2df6e 100644 |
--- a/src/mark-compact.cc |
+++ b/src/mark-compact.cc |
@@ -1253,7 +1253,7 @@ void MarkCompactCollector::CreateBackPointers() { |
next_object != NULL; next_object = iterator.next()) { |
if (next_object->IsMap()) { // Could also be ByteArray on free list. |
Map* map = Map::cast(next_object); |
- STATIC_ASSERT(LAST_TYPE == LAST_CALLABLE_SPEC_OBJECT_TYPE); |
+ STATIC_ASSERT(LAST_TYPE == LAST_JS_RECEIVER_TYPE); |
if (map->instance_type() >= FIRST_JS_RECEIVER_TYPE) { |
map->CreateBackPointers(); |
} else { |
@@ -1693,8 +1693,8 @@ void MarkCompactCollector::ClearNonLiveTransitions() { |
ASSERT(SafeIsMap(map)); |
// Only JSObject and subtypes have map transitions and back pointers. |
- STATIC_ASSERT(LAST_TYPE == LAST_CALLABLE_SPEC_OBJECT_TYPE); |
- if (map->instance_type() < FIRST_JS_RECEIVER_TYPE) continue; |
+ STATIC_ASSERT(LAST_TYPE == LAST_JS_OBJECT_TYPE); |
+ if (map->instance_type() < FIRST_JS_OBJECT_TYPE) continue; |
if (map->IsMarked() && map->attached_to_shared_function_info()) { |
// This map is used for inobject slack tracking and has been detached |