Index: src/v8globals.h |
diff --git a/src/v8globals.h b/src/v8globals.h |
index c7228c04b1a51ecd9e0d26671d50648479418317..4c9da409e1663c5c54957235f7454c14ff0d0ddf 100644 |
--- a/src/v8globals.h |
+++ b/src/v8globals.h |
@@ -36,6 +36,7 @@ const intptr_t kCodeAlignment = 1 << kCodeAlignmentBits; |
const intptr_t kCodeAlignmentMask = kCodeAlignment - 1; |
// Tag information for Failure. |
+// TODO(yangguo): remove this from space owner calculation. |
const int kFailureTag = 3; |
const int kFailureTagSize = 2; |
const intptr_t kFailureTagMask = (1 << kFailureTagSize) - 1; |
@@ -124,7 +125,6 @@ class MapSpace; |
class MarkCompactCollector; |
class NewSpace; |
class Object; |
-class MaybeObject; |
class OldSpace; |
class Foreign; |
class Scope; |
@@ -162,6 +162,7 @@ enum AllocationSpace { |
CELL_SPACE, // Only and all cell objects. |
PROPERTY_CELL_SPACE, // Only and all global property cell objects. |
LO_SPACE, // Promoted large objects. |
+ INVALID_SPACE, // Only used in AllocationResult to signal success. |
FIRST_SPACE = NEW_SPACE, |
LAST_SPACE = LO_SPACE, |