Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1191)

Unified Diff: src/x87/debug-x87.cc

Issue 293743005: Introduce x87 port (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: rebase Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/x87/cpu-x87.cc ('k') | src/x87/deoptimizer-x87.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « src/x87/cpu-x87.cc ('k') | src/x87/deoptimizer-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698