Chromium Code Reviews| Index: src/heap.h |
| diff --git a/src/heap.h b/src/heap.h |
| index d6a3d2951a2d4a446b7510f87a5a50f838631b72..996a65c4a6a80efad4b15b61eb373681efcf2c94 100644 |
| --- a/src/heap.h |
| +++ b/src/heap.h |
| @@ -1261,12 +1261,13 @@ class Heap { |
| return &native_contexts_list_; |
| } |
| + // Verify the heap is in its normal state before or after a GC. |
| + void Verify(); |
| + |
| #ifdef DEBUG |
| void Print(); |
| void PrintHandles(); |
| - // Verify the heap is in its normal state before or after a GC. |
| - void Verify(); |
| void OldPointerSpaceCheckStoreBuffer(); |
| void MapSpaceCheckStoreBuffer(); |
| @@ -1275,10 +1276,9 @@ class Heap { |
| // Report heap statistics. |
| void ReportHeapStatistics(const char* title); |
| void ReportCodeStatistics(const char* title); |
| - |
| +#endif |
|
Michael Starzinger
2012/10/11 12:42:46
Empty newline after the #endif
mvstanton1
2012/10/12 08:40:50
Done.
|
| // Fill in bogus values in from space |
| void ZapFromSpace(); |
| -#endif |
| // Print short heap statistics. |
| void PrintShortHeapStatistics(); |
| @@ -2201,7 +2201,6 @@ class AlwaysAllocateScope { |
| }; |
| -#ifdef DEBUG |
| // Visitor class to verify interior pointers in spaces that do not contain |
| // or care about intergenerational references. All heap object pointers have to |
| // point into the heap to a location that has a map pointer at its first word. |
| @@ -2211,7 +2210,6 @@ class VerifyPointersVisitor: public ObjectVisitor { |
| public: |
| inline void VisitPointers(Object** start, Object** end); |
| }; |
| -#endif |
| // Space iterator for iterating over all spaces of the heap. |