V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
frame-constants-x64.cc
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/x64/frame-constants-x64.h"
8 
9 #include "src/frame-constants.h"
10 #include "src/x64/assembler-x64-inl.h"
11 
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 InterpreterFrameConstants::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 } // namespace internal
30 } // namespace v8
31 
32 #endif // V8_TARGET_ARCH_X64
Definition: libplatform.h:13