v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
frame-constants-x64.cc
Go to the documentation of this file.
1// Copyright 2010 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#if V8_TARGET_ARCH_X64
6
8
12
13namespace v8 {
14namespace internal {
15
19
21 return register_count;
22}
23
25 USE(register_count);
26 return 0;
27}
28
29// static
30intptr_t MaglevFrame::StackGuardFrameSize(int register_input_count) {
31 // Include one extra slot for the single argument into StackGuardWithGap +
32 // register input count.
34 (1 + register_input_count) * kSystemPointerSize;
35}
36
37} // namespace internal
38} // namespace v8
39
40#endif // V8_TARGET_ARCH_X64
static Register constant_pool_pointer_register()
static intptr_t StackGuardFrameSize(int register_input_count)
static int RegisterStackSlotCount(int register_count)
constexpr int kSystemPointerSize
Definition globals.h:410
#define USE(...)
Definition macros.h:293