• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
14 namespace v8 {
15 namespace internal {
16 
17 
fp_register()18 Register JavaScriptFrame::fp_register() { return v8::internal::fp; }
context_register()19 Register JavaScriptFrame::context_register() { return cp; }
constant_pool_pointer_register()20 Register JavaScriptFrame::constant_pool_pointer_register() {
21   UNREACHABLE();
22   return no_reg;
23 }
24 
25 
fp_register()26 Register StubFailureTrampolineFrame::fp_register() { return v8::internal::fp; }
context_register()27 Register StubFailureTrampolineFrame::context_register() { return cp; }
constant_pool_pointer_register()28 Register StubFailureTrampolineFrame::constant_pool_pointer_register() {
29   UNREACHABLE();
30   return no_reg;
31 }
32 
33 
constant_pool_slot() const34 Object*& 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