1// Copyright 2013 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#include "src/v8.h"
6
7#if V8_TARGET_ARCH_ARM64
8
9#include "src/arm64/assembler-arm64-inl.h"
10#include "src/arm64/assembler-arm64.h"
11#include "src/assembler.h"
12#include "src/frames.h"
13
14namespace v8 {
15namespace internal {
16
17
18Register JavaScriptFrame::fp_register() { return v8::internal::fp; }
19Register JavaScriptFrame::context_register() { return cp; }
20Register JavaScriptFrame::constant_pool_pointer_register() {
21  UNREACHABLE();
22  return no_reg;
23}
24
25
26Register StubFailureTrampolineFrame::fp_register() { return v8::internal::fp; }
27Register StubFailureTrampolineFrame::context_register() { return cp; }
28Register StubFailureTrampolineFrame::constant_pool_pointer_register() {
29  UNREACHABLE();
30  return no_reg;
31}
32
33
34Object*& ExitFrame::constant_pool_slot() const {
35  UNREACHABLE();
36  return Memory::Object_at(NULL);
37}
38
39
40} }  // namespace v8::internal
41
42#endif  // V8_TARGET_ARCH_ARM64
43