Chromium Code Reviews| Index: src/mark-compact.h |
| diff --git a/src/mark-compact.h b/src/mark-compact.h |
| index aea5e1cf66249267d9afa35a868a193e930fa50e..2a1d97dc2aefc98c382a27419c2a575e6e53cedb 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 full collection. We need |
| + // to artifically keep AllocationSites alive for a time. |
| + void MarkAllocationSite(AllocationSite* site); |
| + |
| private: |
| MarkCompactCollector(); |
| ~MarkCompactCollector(); |