5 #include "src/frame-constants.h" 7 #if V8_TARGET_ARCH_ARM64 9 #include "src/arm64/assembler-arm64-inl.h" 10 #include "src/arm64/assembler-arm64.h" 11 #include "src/assembler.h" 13 #include "src/arm64/frame-constants-arm64.h" 18 Register JavaScriptFrame::fp_register() {
return v8::internal::fp; }
19 Register JavaScriptFrame::context_register() {
return cp; }
20 Register JavaScriptFrame::constant_pool_pointer_register() { UNREACHABLE(); }
22 int InterpreterFrameConstants::RegisterStackSlotCount(
int register_count) {
24 return RoundUp(register_count, 2);
27 int BuiltinContinuationFrameConstants::PaddingSlotCount(
int register_count) {
30 int slot_count = kFixedSlotCount + register_count;
31 int rounded_slot_count = RoundUp(slot_count, 2);
32 return rounded_slot_count - slot_count;
38 #endif // V8_TARGET_ARCH_ARM64