v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
constants-ia32.h
Go to the documentation of this file.
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_CODEGEN_IA32_CONSTANTS_IA32_H_
6#define V8_CODEGEN_IA32_CONSTANTS_IA32_H_
7
9
10namespace v8 {
11namespace internal {
12
13// The actual value of the kRootRegister is offset from the IsolateData's start
14// to take advantage of negative displacement values.
15constexpr int kRootRegisterBias = 128;
16
17// The maximum size of the code range s.t. pc-relative calls are possible
18// between all Code objects in the range.
19constexpr size_t kMaxPCRelativeCodeRangeInMB = 0;
20
21} // namespace internal
22} // namespace v8
23
24#endif // V8_CODEGEN_IA32_CONSTANTS_IA32_H_
constexpr size_t kMaxPCRelativeCodeRangeInMB
constexpr int kRootRegisterBias