frame-constants-mips.cc 917 Bytes
Newer Older
1
// Copyright 2011 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
#if V8_TARGET_ARCH_MIPS
6

7
#include "src/assembler.h"
8
#include "src/frame-constants.h"
9 10
#include "src/mips/assembler-mips-inl.h"
#include "src/mips/assembler-mips.h"
11 12

#include "src/mips/frame-constants-mips.h"
13 14 15 16

namespace v8 {
namespace internal {

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

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

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

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

33
#endif  // V8_TARGET_ARCH_MIPS