chromium/v8/src/zone/zone-list-inl.h

// Copyright 2017 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_ZONE_ZONE_LIST_INL_H_
#define V8_ZONE_ZONE_LIST_INL_H_

#include "src/base/macros.h"
#include "src/base/platform/platform.h"
#include "src/utils/memcopy.h"
#include "src/zone/zone-list.h"

namespace v8 {
namespace internal {

template <typename T>
void ZoneList<T>::Add(const T& element, Zone* zone) {}

template <typename T>
void ZoneList<T>::AddAll(const ZoneList<T>& other, Zone* zone) {}

template <typename T>
void ZoneList<T>::AddAll(base::Vector<const T> other, Zone* zone) {}

// Use two layers of inlining so that the non-inlined function can
// use the same implementation as the inlined version.
template <typename T>
void ZoneList<T>::ResizeAdd(const T& element, Zone* zone) {}

template <typename T>
void ZoneList<T>::ResizeAddInternal(const T& element, Zone* zone) {}

template <typename T>
void ZoneList<T>::Resize(int new_capacity, Zone* zone) {}

template <typename T>
base::Vector<T> ZoneList<T>::AddBlock(T value, int count, Zone* zone) {}

template <typename T>
void ZoneList<T>::Set(int index, const T& elm) {}

template <typename T>
void ZoneList<T>::InsertAt(int index, const T& elm, Zone* zone) {}

template <typename T>
T ZoneList<T>::Remove(int i) {}

template <typename T>
void ZoneList<T>::Clear(Zone* zone) {}

template <typename T>
void ZoneList<T>::Rewind(int pos) {}

template <typename T>
template <class Visitor>
void ZoneList<T>::Iterate(Visitor* visitor) {}

template <typename T>
template <typename CompareFunction>
void ZoneList<T>::Sort(CompareFunction cmp) {}

template <typename T>
template <typename CompareFunction>
void ZoneList<T>::StableSort(CompareFunction cmp, size_t s, size_t l) {}

}  // namespace internal
}  // namespace v8

#endif  // V8_ZONE_ZONE_LIST_INL_H_