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

Unified Diff: src/mips64/assembler-mips64.h

Issue 427863003: Abstract out fetching of break_address in debug mode (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: update to catch 2nd usage Created 6 years, 5 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
Index: src/mips64/assembler-mips64.h
diff --git a/src/mips64/assembler-mips64.h b/src/mips64/assembler-mips64.h
index 395ab77d8ace9116fb290d140da7a67d6ab468eb..0e3a98aeabb491ca05660b23d196bb9ceb9831a1 100644
--- a/src/mips64/assembler-mips64.h
+++ b/src/mips64/assembler-mips64.h
@@ -560,6 +560,9 @@ class Assembler : public AssemblerBase {
static const int kPatchDebugBreakSlotReturnOffset = 6 * kInstrSize;
+ // Return the code target address of the patch debug break slot
+ inline static Address break_address_from_break_address(Address pc);
+
// Number of instructions used for the JS return sequence. The constant is
// used by the debugger to patch the JS return sequence.
static const int kJSReturnSequenceInstructions = 7;

Powered by Google App Engine
This is Rietveld 408576698