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/arm64/frames-arm64.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 18 Register JavaScriptFrame::fp_register() { return v8::internal::fp; } 19 Register JavaScriptFrame::context_register() { return cp; } 20 Register JavaScriptFrame::constant_pool_pointer_register() { 21 UNREACHABLE(); 22 return no_reg; 23 } 24 25 26 Register StubFailureTrampolineFrame::fp_register() { return v8::internal::fp; } 27 Register StubFailureTrampolineFrame::context_register() { return cp; } 28 Register StubFailureTrampolineFrame::constant_pool_pointer_register() { 29 UNREACHABLE(); 30 return no_reg; 31 } 32 33 34 } // namespace internal 35 } // namespace v8 36 37 #endif // V8_TARGET_ARCH_ARM64 38