Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 1718b154f0ee8a553eb313b598334b53377539a5..033514c1e305cae28dc748d4c7fa5c135eed34d6 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -665,7 +665,6 @@ enum InstanceType { |
MAP_TYPE, |
CODE_TYPE, |
ODDBALL_TYPE, |
- CELL_TYPE, |
// "Data", objects that cannot contain non-map-word pointers to heap |
// objects. |
@@ -720,6 +719,7 @@ enum InstanceType { |
FIXED_ARRAY_TYPE, |
CONSTANT_POOL_ARRAY_TYPE, |
SHARED_FUNCTION_INFO_TYPE, |
+ CELL_TYPE, |
WEAK_CELL_TYPE, |
PROPERTY_CELL_TYPE, |
PROTOTYPE_INFO_TYPE, |
@@ -9778,7 +9778,6 @@ class Cell: public HeapObject { |
static inline Cell* FromValueAddress(Address value) { |
Object* result = FromAddress(value - kValueOffset); |
- DCHECK(result->IsCell()); |
return static_cast<Cell*>(result); |
} |