Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(587)

Unified Diff: src/v8globals.h

Issue 259173003: Kiss goodbye to MaybeObject. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« src/spaces.h ('K') | « src/spaces-inl.h ('k') | test/cctest/cctest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/v8globals.h
diff --git a/src/v8globals.h b/src/v8globals.h
index c7228c04b1a51ecd9e0d26671d50648479418317..67da7f628dab839f4b1c35826f37328a270479eb 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,
Hannes Payer (out of office) 2014/04/30 07:07:07 Can we have a comment here?
FIRST_SPACE = NEW_SPACE,
LAST_SPACE = LO_SPACE,
« src/spaces.h ('K') | « src/spaces-inl.h ('k') | test/cctest/cctest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698