11cb0ef41Sopenharmony_ci// Copyright 2010 the V8 project authors. All rights reserved. 21cb0ef41Sopenharmony_ci// Use of this source code is governed by a BSD-style license that can be 31cb0ef41Sopenharmony_ci// found in the LICENSE file. 41cb0ef41Sopenharmony_ci 51cb0ef41Sopenharmony_ci#if V8_TARGET_ARCH_X64 61cb0ef41Sopenharmony_ci 71cb0ef41Sopenharmony_ci#include "src/execution/x64/frame-constants-x64.h" 81cb0ef41Sopenharmony_ci 91cb0ef41Sopenharmony_ci#include "src/codegen/x64/assembler-x64-inl.h" 101cb0ef41Sopenharmony_ci#include "src/execution/frame-constants.h" 111cb0ef41Sopenharmony_ci#include "src/execution/frames.h" 121cb0ef41Sopenharmony_ci 131cb0ef41Sopenharmony_cinamespace v8 { 141cb0ef41Sopenharmony_cinamespace internal { 151cb0ef41Sopenharmony_ci 161cb0ef41Sopenharmony_ciRegister JavaScriptFrame::fp_register() { return rbp; } 171cb0ef41Sopenharmony_ciRegister JavaScriptFrame::context_register() { return rsi; } 181cb0ef41Sopenharmony_ciRegister JavaScriptFrame::constant_pool_pointer_register() { UNREACHABLE(); } 191cb0ef41Sopenharmony_ci 201cb0ef41Sopenharmony_ciint UnoptimizedFrameConstants::RegisterStackSlotCount(int register_count) { 211cb0ef41Sopenharmony_ci return register_count; 221cb0ef41Sopenharmony_ci} 231cb0ef41Sopenharmony_ci 241cb0ef41Sopenharmony_ciint BuiltinContinuationFrameConstants::PaddingSlotCount(int register_count) { 251cb0ef41Sopenharmony_ci USE(register_count); 261cb0ef41Sopenharmony_ci return 0; 271cb0ef41Sopenharmony_ci} 281cb0ef41Sopenharmony_ci 291cb0ef41Sopenharmony_ci} // namespace internal 301cb0ef41Sopenharmony_ci} // namespace v8 311cb0ef41Sopenharmony_ci 321cb0ef41Sopenharmony_ci#endif // V8_TARGET_ARCH_X64 33