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

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

Issue 1347363002: [heap] Inline record slot methods. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 3 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 | « no previous file | src/heap/mark-compact.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/mark-compact.h
diff --git a/src/heap/mark-compact.h b/src/heap/mark-compact.h
index e0b7c38ca0bd0cfc2c0f785b31c59c476a576943..fe01bb4e860ae646d2c387d09b2606c158c99133 100644
--- a/src/heap/mark-compact.h
+++ b/src/heap/mark-compact.h
@@ -419,8 +419,9 @@ class MarkCompactCollector {
void RecordRelocSlot(RelocInfo* rinfo, Object* target);
void RecordCodeEntrySlot(HeapObject* object, Address slot, Code* target);
void RecordCodeTargetPatch(Address pc, Code* target);
- void RecordSlot(HeapObject* object, Object** slot, Object* target);
- void ForceRecordSlot(HeapObject* object, Object** slot, Object* target);
+ INLINE(void RecordSlot(HeapObject* object, Object** slot, Object* target));
+ INLINE(void ForceRecordSlot(HeapObject* object, Object** slot,
+ Object* target));
void UpdateSlots(SlotsBuffer* buffer);
void UpdateSlotsRecordedIn(SlotsBuffer* buffer);
« no previous file with comments | « no previous file | src/heap/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698