Index: src/serialize.h |
diff --git a/src/serialize.h b/src/serialize.h |
index 2aa55ea3b5f0d53b591b968295fd800994c8f5a5..0774591797f0740f94c826c08cf162fe41ebaecd 100644 |
--- a/src/serialize.h |
+++ b/src/serialize.h |
@@ -296,7 +296,7 @@ class SerializerDeserializer: public ObjectVisitor { |
// No reservation for large object space necessary. |
static const int kNumberOfPreallocatedSpaces = LO_SPACE; |
- static const int kNumberOfSpaces = INVALID_SPACE; |
+ static const int kNumberOfSpaces = LAST_SPACE + 1; |
protected: |
// Where the pointed-to object can be found: |