1 // Copyright 2006-2008 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_IA32 6 7 #include "src/execution/ia32/frame-constants-ia32.h" 8 9 #include "src/codegen/assembler.h" 10 #include "src/codegen/ia32/assembler-ia32-inl.h" 11 #include "src/execution/frame-constants.h" 12 #include "src/execution/frames.h" 13 14 namespace v8 { 15 namespace internal { 16 fp_register()17Register JavaScriptFrame::fp_register() { return ebp; } context_register()18Register JavaScriptFrame::context_register() { return esi; } constant_pool_pointer_register()19Register JavaScriptFrame::constant_pool_pointer_register() { UNREACHABLE(); } 20 RegisterStackSlotCount(int register_count)21int UnoptimizedFrameConstants::RegisterStackSlotCount(int register_count) { 22 return register_count; 23 } 24 PaddingSlotCount(int register_count)25int 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_IA32 34