summaryrefslogtreecommitdiff
path: root/deps/v8/src/codegen/ia32/constants-ia32.h
blob: af3bd09330f99c7c54f0073c4067820615c11246 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2018 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.

#ifndef V8_CODEGEN_IA32_CONSTANTS_IA32_H_
#define V8_CODEGEN_IA32_CONSTANTS_IA32_H_

#include "src/common/globals.h"

namespace v8 {
namespace internal {
// Actual value of root register is offset from the root array's start
// to take advantage of negative displacement values.
// For x86, this value is provided for uniformity with other platforms, although
// currently no root register is present.
constexpr int kRootRegisterBias = 0;

// TODO(sigurds): Change this value once we use relative jumps.
constexpr size_t kMaxPCRelativeCodeRangeInMB = 0;
}  // namespace internal
}  // namespace v8

#endif  // V8_CODEGEN_IA32_CONSTANTS_IA32_H_