1 // Copyright 2011 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_ARM 6 7 #include "src/assembler.h" 8 #include "src/frame-constants.h" 9 #include "src/macro-assembler.h" 10 11 #include "src/arm/assembler-arm-inl.h" 12 #include "src/arm/assembler-arm.h" 13 #include "src/arm/frame-constants-arm.h" 14 #include "src/arm/macro-assembler-arm.h" 15 16 namespace v8 { 17 namespace internal { 18 fp_register()19Register JavaScriptFrame::fp_register() { return v8::internal::fp; } context_register()20Register JavaScriptFrame::context_register() { return cp; } constant_pool_pointer_register()21Register JavaScriptFrame::constant_pool_pointer_register() { UNREACHABLE(); } 22 RegisterStackSlotCount(int register_count)23int InterpreterFrameConstants::RegisterStackSlotCount(int register_count) { 24 return register_count; 25 } 26 PaddingSlotCount(int register_count)27int BuiltinContinuationFrameConstants::PaddingSlotCount(int register_count) { 28 USE(register_count); 29 return 0; 30 } 31 32 } // namespace internal 33 } // namespace v8 34 35 #endif // V8_TARGET_ARCH_ARM 36