V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
frame-constants-s390.cc
1 // Copyright 2015 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 #if V8_TARGET_ARCH_S390
6 
7 #include "src/s390/frame-constants-s390.h"
8 
9 #include "src/assembler-inl.h"
10 #include "src/frame-constants.h"
11 #include "src/macro-assembler.h"
12 
13 
14 namespace v8 {
15 namespace internal {
16 
17 Register JavaScriptFrame::fp_register() { return v8::internal::fp; }
18 Register JavaScriptFrame::context_register() { return cp; }
19 Register JavaScriptFrame::constant_pool_pointer_register() { UNREACHABLE(); }
20 
21 int InterpreterFrameConstants::RegisterStackSlotCount(int register_count) {
22  return register_count;
23 }
24 
25 int BuiltinContinuationFrameConstants::PaddingSlotCount(int register_count) {
26  USE(register_count);
27  return 0;
28 }
29 
30 } // namespace internal
31 } // namespace v8
32 
33 #endif // V8_TARGET_ARCH_S390
Definition: libplatform.h:13