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

Unified Diff: src/objects.h

Issue 1441453002: Avoid manual object's body traversal in GC. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed comments + removed HeapObject::ContentType() Created 5 years, 1 month 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
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 12f220f144c2214e1b7695d0c749ae64cad55f17..e5865b788625ef727231c40a39e6f0f11f2372c1 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -1504,13 +1504,6 @@ class MapWord BASE_EMBEDDED {
};
-// The content of an heap object (except for the map pointer). kTaggedValues
-// objects can contain both heap pointers and Smis, kMixedValues can contain
-// heap pointers, Smis, and raw values (e.g. doubles or strings), and kRawValues
-// objects can contain raw values and Smis.
-enum class HeapObjectContents { kTaggedValues, kMixedValues, kRawValues };
-
-
// HeapObject is the superclass for all classes describing heap allocated
// objects.
class HeapObject: public Object {
@@ -1587,9 +1580,6 @@ class HeapObject: public Object {
// Returns the heap object's size in bytes
inline int Size();
- // Indicates what type of values this heap object may contain.
- inline HeapObjectContents ContentType();
-
// Given a heap object's map pointer, returns the heap size in bytes
// Useful when the map pointer field is used for other purposes.
// GC internal.
« src/heap/spaces.cc ('K') | « src/heap/store-buffer.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698