frame-constants-mips64.cc 927 Bytes
Newer Older
1 2 3 4 5 6
// Copyright 2011 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#if V8_TARGET_ARCH_MIPS64

7
#include "src/codegen/mips64/assembler-mips64-inl.h"
8
#include "src/execution/frame-constants.h"
9
#include "src/execution/frames.h"
10

11
#include "src/execution/mips64/frame-constants-mips64.h"
12 13 14 15 16 17

namespace v8 {
namespace internal {

Register JavaScriptFrame::fp_register() { return v8::internal::fp; }
Register JavaScriptFrame::context_register() { return cp; }
18
Register JavaScriptFrame::constant_pool_pointer_register() { UNREACHABLE(); }
19

20 21 22 23
int InterpreterFrameConstants::RegisterStackSlotCount(int register_count) {
  return register_count;
}

24 25 26 27 28
int BuiltinContinuationFrameConstants::PaddingSlotCount(int register_count) {
  USE(register_count);
  return 0;
}

29 30
}  // namespace internal
}  // namespace v8
31 32

#endif  // V8_TARGET_ARCH_MIPS64