diff options
Diffstat (limited to 'deps/v8/src/execution/s390/frame-constants-s390.cc')
-rw-r--r-- | deps/v8/src/execution/s390/frame-constants-s390.cc | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/deps/v8/src/execution/s390/frame-constants-s390.cc b/deps/v8/src/execution/s390/frame-constants-s390.cc new file mode 100644 index 0000000000..ea36f6b370 --- /dev/null +++ b/deps/v8/src/execution/s390/frame-constants-s390.cc @@ -0,0 +1,32 @@ +// Copyright 2015 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_S390 + +#include "src/execution/s390/frame-constants-s390.h" + +#include "src/codegen/assembler-inl.h" +#include "src/codegen/macro-assembler.h" +#include "src/execution/frame-constants.h" + +namespace v8 { +namespace internal { + +Register JavaScriptFrame::fp_register() { return v8::internal::fp; } +Register JavaScriptFrame::context_register() { return cp; } +Register JavaScriptFrame::constant_pool_pointer_register() { UNREACHABLE(); } + +int InterpreterFrameConstants::RegisterStackSlotCount(int register_count) { + return register_count; +} + +int BuiltinContinuationFrameConstants::PaddingSlotCount(int register_count) { + USE(register_count); + return 0; +} + +} // namespace internal +} // namespace v8 + +#endif // V8_TARGET_ARCH_S390 |