summaryrefslogtreecommitdiff
path: root/chromium/v8/src/utils/detachable-vector.cc
blob: 3ca3d18a51d5af2a0da685666cef26a9eda7809d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright 2018 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/utils/detachable-vector.h"

namespace v8 {
namespace internal {

const size_t DetachableVectorBase::kMinimumCapacity = 8;
const size_t DetachableVectorBase::kDataOffset =
    offsetof(DetachableVectorBase, data_);
const size_t DetachableVectorBase::kCapacityOffset =
    offsetof(DetachableVectorBase, capacity_);
const size_t DetachableVectorBase::kSizeOffset =
    offsetof(DetachableVectorBase, size_);

}  // namespace internal
}  // namespace v8