Index: src/globals.h |
diff --git a/src/globals.h b/src/globals.h |
index 8c27b01b545bf35c4778571b07fd9a5efaeb4680..23d465c45b7bcef92e8df2d1325912972a396212 100644 |
--- a/src/globals.h |
+++ b/src/globals.h |
@@ -348,6 +348,7 @@ typedef bool (*WeakSlotCallbackWithHeap)(Heap* heap, Object** pointer); |
// NOTE: SpaceIterator depends on AllocationSpace enumeration values being |
// consecutive. |
+// Keep this enum in sync with the ObjectSpace enum in v8.h |
enum AllocationSpace { |
NEW_SPACE, // Semispaces collected with copying collector. |
OLD_POINTER_SPACE, // May contain pointers to new space. |