1 | // Copyright 2018 the V8 project authors. All rights reserved. |
---|---|
2 | // Use of this source code is governed by a BSD-style license that can be |
3 | // found in the LICENSE file. |
4 | |
5 | #include "src/detachable-vector.h" |
6 | |
7 | namespace v8 { |
8 | namespace internal { |
9 | |
10 | const size_t DetachableVectorBase::kMinimumCapacity = 8; |
11 | const size_t DetachableVectorBase::kDataOffset = |
12 | offsetof(DetachableVectorBase, data_); |
13 | const size_t DetachableVectorBase::kCapacityOffset = |
14 | offsetof(DetachableVectorBase, capacity_); |
15 | const size_t DetachableVectorBase::kSizeOffset = |
16 | offsetof(DetachableVectorBase, size_); |
17 | |
18 | } // namespace internal |
19 | } // namespace v8 |
20 |