Index: src/heap/spaces.h |
diff --git a/src/heap/spaces.h b/src/heap/spaces.h |
index 54ec7e37f22d70f9c2c0964197d6ffd4546d069b..1cd7257677223484eae6dd7f43322f97f01a1f12 100644 |
--- a/src/heap/spaces.h |
+++ b/src/heap/spaces.h |
@@ -882,23 +882,15 @@ class Space : public Malloced { |
// Identity used in error reporting. |
AllocationSpace identity() { return id_; } |
- virtual void AddAllocationObserver(AllocationObserver* observer) { |
- allocation_observers_->Add(observer); |
- } |
+ V8_EXPORT_PRIVATE virtual void AddAllocationObserver( |
+ AllocationObserver* observer); |
- virtual void RemoveAllocationObserver(AllocationObserver* observer) { |
- bool removed = allocation_observers_->RemoveElement(observer); |
- USE(removed); |
- DCHECK(removed); |
- } |
+ V8_EXPORT_PRIVATE virtual void RemoveAllocationObserver( |
+ AllocationObserver* observer); |
- virtual void PauseAllocationObservers() { |
- allocation_observers_paused_ = true; |
- } |
+ V8_EXPORT_PRIVATE virtual void PauseAllocationObservers(); |
- virtual void ResumeAllocationObservers() { |
- allocation_observers_paused_ = false; |
- } |
+ V8_EXPORT_PRIVATE virtual void ResumeAllocationObservers(); |
void AllocationStep(Address soon_object, int size); |