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
7
#include "
src/execution/x64/frame-constants-x64.h
"
8
9
#include "
src/codegen/x64/assembler-x64-inl.h
"
10
#include "
src/execution/frame-constants.h
"
11
#include "
src/execution/frames.h
"
12
13
namespace
v8
{
14
namespace
internal
{
15
16
Register
JavaScriptFrame::fp_register
() {
return
rbp; }
17
Register
JavaScriptFrame::context_register
() {
return
rsi; }
18
Register
JavaScriptFrame::constant_pool_pointer_register
() {
UNREACHABLE
(); }
19
20
int
UnoptimizedFrameConstants::RegisterStackSlotCount
(
int
register_count) {
21
return
register_count;
22
}
23
24
int
BuiltinContinuationFrameConstants::PaddingSlotCount
(
int
register_count) {
25
USE
(register_count);
26
return
0;
27
}
28
29
// static
30
intptr_t
MaglevFrame::StackGuardFrameSize
(
int
register_input_count) {
31
// Include one extra slot for the single argument into StackGuardWithGap +
32
// register input count.
33
return
StandardFrameConstants::kFixedFrameSizeFromFp
+
34
(1 + register_input_count) *
kSystemPointerSize
;
35
}
36
37
}
// namespace internal
38
}
// namespace v8
39
40
#endif
// V8_TARGET_ARCH_X64
assembler-x64-inl.h
v8::internal::BuiltinContinuationFrameConstants::PaddingSlotCount
static int PaddingSlotCount(int register_count)
Definition
frame-constants-riscv.cc:21
v8::internal::JavaScriptFrame::fp_register
static Register fp_register()
Definition
frame-constants-riscv.cc:13
v8::internal::JavaScriptFrame::constant_pool_pointer_register
static Register constant_pool_pointer_register()
Definition
frame-constants-riscv.cc:15
v8::internal::JavaScriptFrame::context_register
static Register context_register()
Definition
frame-constants-riscv.cc:14
v8::internal::MaglevFrame::StackGuardFrameSize
static intptr_t StackGuardFrameSize(int register_input_count)
Definition
frame-constants-riscv.cc:27
v8::internal::StandardFrameConstants::kFixedFrameSizeFromFp
static constexpr int kFixedFrameSizeFromFp
Definition
frame-constants.h:111
v8::internal::UnoptimizedFrameConstants::RegisterStackSlotCount
static int RegisterStackSlotCount(int register_count)
Definition
frame-constants-riscv.cc:17
frame-constants-x64.h
frame-constants.h
frames.h
v8::internal::ETWJITInterface::Register
void Register()
Definition
etw-jit-win.cc:187
v8::internal::internal
internal
Definition
wasm-objects-inl.h:458
v8::internal::kSystemPointerSize
constexpr int kSystemPointerSize
Definition
globals.h:410
v8::internal::UNREACHABLE
UNREACHABLE()
v8
Definition
api-arguments-inl.h:19
USE
#define USE(...)
Definition
macros.h:293
src
execution
x64
frame-constants-x64.cc
Generated on Sun Apr 6 2025 21:08:53 for v8 by
1.12.0