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

Unified Diff: src/objects.h

Issue 1053243003: Revert of Merge cellspace into old pointer space (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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
« no previous file with comments | « src/mips64/code-stubs-mips64.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 380e19a95ca06e8aa6ad5c683090407a19a5d65f..7ba625442369de1f1f0dd57ac262c03196c90bae 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -665,6 +665,7 @@
MAP_TYPE,
CODE_TYPE,
ODDBALL_TYPE,
+ CELL_TYPE,
// "Data", objects that cannot contain non-map-word pointers to heap
// objects.
@@ -719,7 +720,6 @@
FIXED_ARRAY_TYPE,
CONSTANT_POOL_ARRAY_TYPE,
SHARED_FUNCTION_INFO_TYPE,
- CELL_TYPE,
WEAK_CELL_TYPE,
PROPERTY_CELL_TYPE,
PROTOTYPE_INFO_TYPE,
@@ -9777,6 +9777,7 @@
static inline Cell* FromValueAddress(Address value) {
Object* result = FromAddress(value - kValueOffset);
+ DCHECK(result->IsCell());
return static_cast<Cell*>(result);
}
« no previous file with comments | « src/mips64/code-stubs-mips64.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698