1b8a8cc1952d61a2f3a2568848933943a543b5d3eBen Murdoch// Copyright 2006-2008 the V8 project authors. All rights reserved. 2b8a8cc1952d61a2f3a2568848933943a543b5d3eBen Murdoch// Use of this source code is governed by a BSD-style license that can be 3b8a8cc1952d61a2f3a2568848933943a543b5d3eBen Murdoch// found in the LICENSE file. 4b8a8cc1952d61a2f3a2568848933943a543b5d3eBen Murdoch 5b8a8cc1952d61a2f3a2568848933943a543b5d3eBen Murdoch#if V8_TARGET_ARCH_X87 6b8a8cc1952d61a2f3a2568848933943a543b5d3eBen Murdoch 7b8a8cc1952d61a2f3a2568848933943a543b5d3eBen Murdoch#include "src/assembler.h" 8b8a8cc1952d61a2f3a2568848933943a543b5d3eBen Murdoch#include "src/frames.h" 9b8a8cc1952d61a2f3a2568848933943a543b5d3eBen Murdoch#include "src/x87/assembler-x87-inl.h" 10b8a8cc1952d61a2f3a2568848933943a543b5d3eBen Murdoch#include "src/x87/assembler-x87.h" 11014dc512cdd3e367bee49a713fdc5ed92584a3e5Ben Murdoch#include "src/x87/frames-x87.h" 12b8a8cc1952d61a2f3a2568848933943a543b5d3eBen Murdoch 13b8a8cc1952d61a2f3a2568848933943a543b5d3eBen Murdochnamespace v8 { 14b8a8cc1952d61a2f3a2568848933943a543b5d3eBen Murdochnamespace internal { 15b8a8cc1952d61a2f3a2568848933943a543b5d3eBen Murdoch 16b8a8cc1952d61a2f3a2568848933943a543b5d3eBen Murdoch 17b8a8cc1952d61a2f3a2568848933943a543b5d3eBen MurdochRegister JavaScriptFrame::fp_register() { return ebp; } 18b8a8cc1952d61a2f3a2568848933943a543b5d3eBen MurdochRegister JavaScriptFrame::context_register() { return esi; } 19b8a8cc1952d61a2f3a2568848933943a543b5d3eBen MurdochRegister JavaScriptFrame::constant_pool_pointer_register() { 20b8a8cc1952d61a2f3a2568848933943a543b5d3eBen Murdoch UNREACHABLE(); 21b8a8cc1952d61a2f3a2568848933943a543b5d3eBen Murdoch return no_reg; 22b8a8cc1952d61a2f3a2568848933943a543b5d3eBen Murdoch} 23b8a8cc1952d61a2f3a2568848933943a543b5d3eBen Murdoch 24b8a8cc1952d61a2f3a2568848933943a543b5d3eBen Murdoch 25b8a8cc1952d61a2f3a2568848933943a543b5d3eBen MurdochRegister StubFailureTrampolineFrame::fp_register() { return ebp; } 26b8a8cc1952d61a2f3a2568848933943a543b5d3eBen MurdochRegister StubFailureTrampolineFrame::context_register() { return esi; } 27b8a8cc1952d61a2f3a2568848933943a543b5d3eBen MurdochRegister StubFailureTrampolineFrame::constant_pool_pointer_register() { 28b8a8cc1952d61a2f3a2568848933943a543b5d3eBen Murdoch UNREACHABLE(); 29b8a8cc1952d61a2f3a2568848933943a543b5d3eBen Murdoch return no_reg; 30b8a8cc1952d61a2f3a2568848933943a543b5d3eBen Murdoch} 31b8a8cc1952d61a2f3a2568848933943a543b5d3eBen Murdoch 32b8a8cc1952d61a2f3a2568848933943a543b5d3eBen Murdoch 33014dc512cdd3e367bee49a713fdc5ed92584a3e5Ben Murdoch} // namespace internal 34014dc512cdd3e367bee49a713fdc5ed92584a3e5Ben Murdoch} // namespace v8 35b8a8cc1952d61a2f3a2568848933943a543b5d3eBen Murdoch 36b8a8cc1952d61a2f3a2568848933943a543b5d3eBen Murdoch#endif // V8_TARGET_ARCH_X87 37