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_X87 6 7 #include "src/assembler.h" 8 #include "src/frames.h" 9 #include "src/x87/assembler-x87-inl.h" 10 #include "src/x87/assembler-x87.h" 11 #include "src/x87/frames-x87.h" 12 13 namespace v8 { 14 namespace internal { 15 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() { 20 UNREACHABLE(); 21 return no_reg; 22 } 23 24 fp_register()25Register StubFailureTrampolineFrame::fp_register() { return ebp; } context_register()26Register StubFailureTrampolineFrame::context_register() { return esi; } constant_pool_pointer_register()27Register StubFailureTrampolineFrame::constant_pool_pointer_register() { 28 UNREACHABLE(); 29 return no_reg; 30 } 31 32 33 } // namespace internal 34 } // namespace v8 35 36 #endif // V8_TARGET_ARCH_X87 37