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

Unified Diff: src/mark-compact.h

Issue 8245007: Refactor how embedded pointers are visited. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 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
Index: src/mark-compact.h
diff --git a/src/mark-compact.h b/src/mark-compact.h
index 86850369a906029c2075c000df787009f72013ae..e93170d98178f611bd05a1b27aafcbe583d39e89 100644
--- a/src/mark-compact.h
+++ b/src/mark-compact.h
@@ -320,6 +320,7 @@ class SlotsBuffer {
CODE_ENTRY_SLOT,
DEBUG_TARGET_SLOT,
JS_RETURN_SLOT,
+ EMBEDDED_OBJECT_SLOT,
Vyacheslav Egorov (Chromium) 2011/10/12 14:21:53 micro opt idea: consider placing it first (or in t
Michael Starzinger 2011/10/12 15:38:36 Done. On both ia32 and x64 it is compiled as a loo
NUMBER_OF_SLOT_TYPES
};
@@ -540,6 +541,7 @@ class MarkCompactCollector {
void RecordRelocSlot(RelocInfo* rinfo, Code* target);
void RecordCodeEntrySlot(Address slot, Code* target);
+ void RecordEmbeddedSlot(RelocInfo* rinfo, Object* target);
INLINE(void RecordSlot(Object** anchor_slot, Object** slot, Object* object));
« no previous file with comments | « src/incremental-marking.cc ('k') | src/mark-compact.cc » ('j') | src/mark-compact.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698