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

Unified Diff: src/debug.cc

Issue 1229673005: Debugger: record reloc info for debug break slot immediate before the slot. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix typo Created 5 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
« no previous file with comments | « src/debug.h ('k') | src/full-codegen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/debug.cc
diff --git a/src/debug.cc b/src/debug.cc
index c3c0dcb667028d21893f713012ff72a414cf4fda..6a445f036b46a0fbf9e7b00759d386aa1ea861f6 100644
--- a/src/debug.cc
+++ b/src/debug.cc
@@ -3176,5 +3176,23 @@ void LockingCommandMessageQueue::Clear() {
queue_.Clear();
}
+
+void DebugCodegen::RecordRelocInfo(MacroAssembler* masm,
+ DebugCodegen::SlotLocation location,
+ int call_argc) {
+ switch (location) {
+ case PLAIN_DEBUG_BREAK:
+ masm->RecordDebugBreakSlot();
+ return;
+ case DEBUG_BREAK_AT_CALL:
+ DCHECK_LE(0, call_argc);
+ masm->RecordDebugBreakSlotForCall(call_argc);
+ return;
+ case DEBUG_BREAK_AT_CONSTRUCT_CALL:
+ masm->RecordDebugBreakSlotForConstructCall();
+ return;
+ }
+}
+
} // namespace internal
} // namespace v8
« no previous file with comments | « src/debug.h ('k') | src/full-codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698