| Index: src/x87/debug-x87.cc
|
| diff --git a/src/ia32/debug-ia32.cc b/src/x87/debug-x87.cc
|
| similarity index 95%
|
| copy from src/ia32/debug-ia32.cc
|
| copy to src/x87/debug-x87.cc
|
| index d9d970ef0433c580637a60e881525a46c6ccc6ec..c7039a88b1c58321da1a867af3e21f36122a9437 100644
|
| --- a/src/ia32/debug-ia32.cc
|
| +++ b/src/x87/debug-x87.cc
|
| @@ -4,7 +4,7 @@
|
|
|
| #include "v8.h"
|
|
|
| -#if V8_TARGET_ARCH_IA32
|
| +#if V8_TARGET_ARCH_X87
|
|
|
| #include "codegen.h"
|
| #include "debug.h"
|
| @@ -19,7 +19,7 @@ bool BreakLocationIterator::IsDebugBreakAtReturn() {
|
|
|
|
|
| // Patch the JS frame exit code with a debug break call. See
|
| -// CodeGenerator::VisitReturnStatement and VirtualFrame::Exit in codegen-ia32.cc
|
| +// CodeGenerator::VisitReturnStatement and VirtualFrame::Exit in codegen-x87.cc
|
| // for the precise return instructions sequence.
|
| void BreakLocationIterator::SetDebugBreakAtReturn() {
|
| ASSERT(Assembler::kJSReturnSequenceLength >=
|
| @@ -184,7 +184,7 @@ void Debug::GenerateCallICStubDebugBreak(MacroAssembler* masm) {
|
|
|
|
|
| void Debug::GenerateLoadICDebugBreak(MacroAssembler* masm) {
|
| - // Register state for IC load call (from ic-ia32.cc).
|
| + // Register state for IC load call (from ic-x87.cc).
|
| // ----------- S t a t e -------------
|
| // -- ecx : name
|
| // -- edx : receiver
|
| @@ -194,7 +194,7 @@ void Debug::GenerateLoadICDebugBreak(MacroAssembler* masm) {
|
|
|
|
|
| void Debug::GenerateStoreICDebugBreak(MacroAssembler* masm) {
|
| - // Register state for IC store call (from ic-ia32.cc).
|
| + // Register state for IC store call (from ic-x87.cc).
|
| // ----------- S t a t e -------------
|
| // -- eax : value
|
| // -- ecx : name
|
| @@ -206,7 +206,7 @@ void Debug::GenerateStoreICDebugBreak(MacroAssembler* masm) {
|
|
|
|
|
| void Debug::GenerateKeyedLoadICDebugBreak(MacroAssembler* masm) {
|
| - // Register state for keyed IC load call (from ic-ia32.cc).
|
| + // Register state for keyed IC load call (from ic-x87.cc).
|
| // ----------- S t a t e -------------
|
| // -- ecx : key
|
| // -- edx : receiver
|
| @@ -216,7 +216,7 @@ void Debug::GenerateKeyedLoadICDebugBreak(MacroAssembler* masm) {
|
|
|
|
|
| void Debug::GenerateKeyedStoreICDebugBreak(MacroAssembler* masm) {
|
| - // Register state for keyed IC load call (from ic-ia32.cc).
|
| + // Register state for keyed IC load call (from ic-x87.cc).
|
| // ----------- S t a t e -------------
|
| // -- eax : value
|
| // -- ecx : key
|
| @@ -237,7 +237,7 @@ void Debug::GenerateCompareNilICDebugBreak(MacroAssembler* masm) {
|
|
|
|
|
| void Debug::GenerateReturnDebugBreak(MacroAssembler* masm) {
|
| - // Register state just before return from JS function (from codegen-ia32.cc).
|
| + // Register state just before return from JS function (from codegen-x87.cc).
|
| // ----------- S t a t e -------------
|
| // -- eax: return value
|
| // -----------------------------------
|
| @@ -246,7 +246,7 @@ void Debug::GenerateReturnDebugBreak(MacroAssembler* masm) {
|
|
|
|
|
| void Debug::GenerateCallFunctionStubDebugBreak(MacroAssembler* masm) {
|
| - // Register state for CallFunctionStub (from code-stubs-ia32.cc).
|
| + // Register state for CallFunctionStub (from code-stubs-x87.cc).
|
| // ----------- S t a t e -------------
|
| // -- edi: function
|
| // -----------------------------------
|
| @@ -255,7 +255,7 @@ void Debug::GenerateCallFunctionStubDebugBreak(MacroAssembler* masm) {
|
|
|
|
|
| void Debug::GenerateCallConstructStubDebugBreak(MacroAssembler* masm) {
|
| - // Register state for CallConstructStub (from code-stubs-ia32.cc).
|
| + // Register state for CallConstructStub (from code-stubs-x87.cc).
|
| // eax is the actual number of arguments not encoded as a smi see comment
|
| // above IC call.
|
| // ----------- S t a t e -------------
|
| @@ -268,7 +268,7 @@ void Debug::GenerateCallConstructStubDebugBreak(MacroAssembler* masm) {
|
|
|
|
|
| void Debug::GenerateCallConstructStubRecordDebugBreak(MacroAssembler* masm) {
|
| - // Register state for CallConstructStub (from code-stubs-ia32.cc).
|
| + // Register state for CallConstructStub (from code-stubs-x87.cc).
|
| // eax is the actual number of arguments not encoded as a smi see comment
|
| // above IC call.
|
| // ----------- S t a t e -------------
|
| @@ -336,4 +336,4 @@ const bool Debug::kFrameDropperSupported = true;
|
|
|
| } } // namespace v8::internal
|
|
|
| -#endif // V8_TARGET_ARCH_IA32
|
| +#endif // V8_TARGET_ARCH_X87
|
|
|