V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
ptr-compr.h
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 #ifndef V8_PTR_COMPR_H_
6 #define V8_PTR_COMPR_H_
7 
8 #if V8_TARGET_ARCH_64_BIT
9 
10 #include "src/globals.h"
11 
12 namespace v8 {
13 namespace internal {
14 
15 constexpr size_t kPtrComprHeapReservationSize = size_t{4} * GB;
16 constexpr size_t kPtrComprIsolateRootBias = kPtrComprHeapReservationSize / 2;
17 constexpr size_t kPtrComprIsolateRootAlignment = size_t{4} * GB;
18 
19 } // namespace internal
20 } // namespace v8
21 
22 #endif // V8_TARGET_ARCH_64_BIT
23 
24 #endif // V8_PTR_COMPR_H_
Definition: libplatform.h:13