1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
base / allocator / partition_allocator / src / partition_alloc / reservation_offset_table.cc [blame]
// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "partition_alloc/reservation_offset_table.h"
#include "partition_alloc/buildflags.h"
namespace partition_alloc::internal {
#if PA_BUILDFLAG(HAS_64_BIT_POINTERS)
PA_CONSTINIT ReservationOffsetTable ReservationOffsetTable::singleton_;
#else
PA_CONSTINIT ReservationOffsetTable::_ReservationOffsetTable
ReservationOffsetTable::reservation_offset_table_;
#endif // PA_BUILDFLAG(HAS_64_BIT_POINTERS)
} // namespace partition_alloc::internal