summaryrefslogtreecommitdiff
path: root/deps/v8/src/common/ptr-compr.cc
blob: 899bb4798a44e851c848aa0bb2d78a44416b33b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright 2022 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/common/ptr-compr.h"

namespace v8::internal {

#ifdef V8_COMPRESS_POINTERS_IN_SHARED_CAGE

uintptr_t V8HeapCompressionScheme::base_ = kNullAddress;

#ifdef V8_EXTERNAL_CODE_SPACE
uintptr_t ExternalCodeCompressionScheme::base_ = kNullAddress;
#endif  // V8_EXTERNAL_CODE_SPACE

#endif  // V8_COMPRESS_POINTERS_IN_SHARED_CAGE

}  // namespace v8::internal