Chromium Code Reviews| Index: src/mark-compact.h |
| diff --git a/src/mark-compact.h b/src/mark-compact.h |
| index aea5e1cf66249267d9afa35a868a193e930fa50e..e615c0655080c6745de9fab01c72d82c7863cda8 100644 |
| --- a/src/mark-compact.h |
| +++ b/src/mark-compact.h |
| @@ -739,6 +739,10 @@ class MarkCompactCollector { |
| // marking its contents. |
| void MarkWeakObjectToCodeTable(); |
| + // Special case for processing weak references in a compacting collection. |
| + // We need to artifically keep AllocationSites alive for a time. |
| + void MarkAllocationSite(AllocationSite* site); |
| + |
| private: |
| MarkCompactCollector(); |
| ~MarkCompactCollector(); |