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

Unified Diff: src/objects-body-descriptors.h

Issue 2808093003: [heap] Introduce HeapVisitor interface. (Closed)
Patch Set: fix compile error Created 3 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
Index: src/objects-body-descriptors.h
diff --git a/src/objects-body-descriptors.h b/src/objects-body-descriptors.h
index 9f080eb7551bd6e2cbe2c6ea42dca3cd7c91a7da..499c48a9303424695bdb3a2adcfa9605dfaeca37 100644
--- a/src/objects-body-descriptors.h
+++ b/src/objects-body-descriptors.h
@@ -101,6 +101,8 @@ class FixedBodyDescriptor final : public BodyDescriptorBase {
static inline void IterateBody(HeapObject* obj, int object_size) {
IterateBody(obj);
}
+
+ static inline int SizeOf(Map* map, HeapObject* object) { return kSize; }
};

Powered by Google App Engine
This is Rietveld 408576698