Chromium Code Reviews

Unified Diff: src/heap/mark-compact.h

Issue 2045263002: [heap] Avoid the use of cells to point from code to new-space objects. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: src/heap/mark-compact.h
diff --git a/src/heap/mark-compact.h b/src/heap/mark-compact.h
index 859276db34469a14df02e0a4f8b787fba6be365e..988db42a9b8639f33ef2184b1a574c65cf537a34 100644
--- a/src/heap/mark-compact.h
+++ b/src/heap/mark-compact.h
@@ -541,6 +541,7 @@ class MarkCompactCollector {
}
void RecordRelocSlot(Code* host, RelocInfo* rinfo, Object* target);
+ void RecordRelocSlotToNewSpace(Code* host, RelocInfo* rinfo, Object* target);
ulan 2016/06/08 14:37:00 This function doesn't belong to incremental markin
ahaas 2016/06/09 10:34:32 Done. I had to put the implementation into heap.cc
void RecordCodeEntrySlot(HeapObject* host, Address slot, Code* target);
void RecordCodeTargetPatch(Address pc, Code* target);
INLINE(void RecordSlot(HeapObject* object, Object** slot, Object* target));

Powered by Google App Engine