chromium/v8/src/heap/allocation-observer.cc

// Copyright 2020 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "src/heap/allocation-observer.h"

#include <algorithm>

#include "src/heap/heap.h"
#include "src/heap/spaces.h"

namespace v8 {
namespace internal {

void AllocationCounter::AddAllocationObserver(AllocationObserver* observer) {}

void AllocationCounter::RemoveAllocationObserver(AllocationObserver* observer) {}

void AllocationCounter::AdvanceAllocationObservers(size_t allocated) {}

void AllocationCounter::InvokeAllocationObservers(Address soon_object,
                                                  size_t object_size,
                                                  size_t aligned_object_size) {}

PauseAllocationObserversScope::PauseAllocationObserversScope(Heap* heap)
    :{}

PauseAllocationObserversScope::~PauseAllocationObserversScope() {}

}  // namespace internal
}  // namespace v8