frames-arm64.cc 969 Bytes
Newer Older
1
// Copyright 2013 the V8 project authors. All rights reserved.
2 3
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
4

5 6
#include "src/arm64/frames-arm64.h"

7
#if V8_TARGET_ARCH_ARM64
8

9
#include "src/arm64/assembler-arm64-inl.h"
10 11
#include "src/arm64/assembler-arm64.h"
#include "src/assembler.h"
12
#include "src/frames.h"
13 14 15 16 17 18 19

namespace v8 {
namespace internal {


Register JavaScriptFrame::fp_register() { return v8::internal::fp; }
Register JavaScriptFrame::context_register() { return cp; }
20 21 22 23
Register JavaScriptFrame::constant_pool_pointer_register() {
  UNREACHABLE();
  return no_reg;
}
24 25 26 27


Register StubFailureTrampolineFrame::fp_register() { return v8::internal::fp; }
Register StubFailureTrampolineFrame::context_register() { return cp; }
28 29 30 31
Register StubFailureTrampolineFrame::constant_pool_pointer_register() {
  UNREACHABLE();
  return no_reg;
}
32 33


34 35
}  // namespace internal
}  // namespace v8
36

37
#endif  // V8_TARGET_ARCH_ARM64