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

Unified Diff: src/objects-inl.h

Issue 1416003003: Cleanup FreeSpace: Remove getter for address of next pointer (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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/objects.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects-inl.h
diff --git a/src/objects-inl.h b/src/objects-inl.h
index 11b40674b241ccd69b2a47bb6da8cf0f70db3d0e..6139b7582b565ed440763cda204c28eb6ee0e2a3 100644
--- a/src/objects-inl.h
+++ b/src/objects-inl.h
@@ -3667,14 +3667,6 @@ FreeSpace* FreeSpace::next() {
}
-FreeSpace** FreeSpace::next_address() {
- DCHECK(map() == GetHeap()->root(Heap::kFreeSpaceMapRootIndex) ||
- (!GetHeap()->deserialization_complete() && map() == NULL));
- DCHECK_LE(kNextOffset + kPointerSize, nobarrier_size());
- return reinterpret_cast<FreeSpace**>(address() + kNextOffset);
-}
-
-
void FreeSpace::set_next(FreeSpace* next) {
DCHECK(map() == GetHeap()->root(Heap::kFreeSpaceMapRootIndex) ||
(!GetHeap()->deserialization_complete() && map() == NULL));
« no previous file with comments | « src/objects.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698