chromium/v8/src/heap/new-spaces-inl.h

// 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.

#ifndef V8_HEAP_NEW_SPACES_INL_H_
#define V8_HEAP_NEW_SPACES_INL_H_

#include "src/base/sanitizer/msan.h"
#include "src/common/globals.h"
#include "src/heap/heap.h"
#include "src/heap/new-spaces.h"
#include "src/heap/paged-spaces-inl.h"
#include "src/heap/spaces-inl.h"
#include "src/objects/objects-inl.h"
#include "src/objects/tagged-impl.h"
#include "src/objects/tagged.h"

namespace v8 {
namespace internal {

// -----------------------------------------------------------------------------
// SemiSpace

bool SemiSpace::Contains(Tagged<HeapObject> o) const {}

bool SemiSpace::Contains(Tagged<Object> o) const {}

template <typename T>
inline bool SemiSpace::Contains(Tagged<T> o) const {}

bool SemiSpace::ContainsSlow(Address a) const {}

// --------------------------------------------------------------------------
// NewSpace

bool NewSpace::Contains(Tagged<Object> o) const {}

bool NewSpace::Contains(Tagged<HeapObject> o) const {}

// -----------------------------------------------------------------------------
// SemiSpaceObjectIterator

SemiSpaceObjectIterator::SemiSpaceObjectIterator(const SemiSpaceNewSpace* space)
    :{}

Tagged<HeapObject> SemiSpaceObjectIterator::Next() {}

void SemiSpaceNewSpace::IncrementAllocationTop(Address new_top) {}

void SemiSpaceNewSpace::DecrementAllocationTop(Address new_top) {}

}  // namespace internal
}  // namespace v8

#endif  // V8_HEAP_NEW_SPACES_INL_H_