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

Side by Side Diff: src/x64/assembler-x64.h

Issue 1222093007: Debugger: use debug break slot to break on call. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebased and addressed comments 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 unified diff | Download patch
« no previous file with comments | « src/mips64/full-codegen-mips64.cc ('k') | src/x64/debug-x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 1601 matching lines...) Expand 10 before | Expand all | Expand 10 after
1612 // Check the code size generated from label to here. 1612 // Check the code size generated from label to here.
1613 int SizeOfCodeGeneratedSince(Label* label) { 1613 int SizeOfCodeGeneratedSince(Label* label) {
1614 return pc_offset() - label->pos(); 1614 return pc_offset() - label->pos();
1615 } 1615 }
1616 1616
1617 // Mark address of the ExitJSFrame code. 1617 // Mark address of the ExitJSFrame code.
1618 void RecordJSReturn(); 1618 void RecordJSReturn();
1619 1619
1620 // Mark address of a debug break slot. 1620 // Mark address of a debug break slot.
1621 void RecordDebugBreakSlot(); 1621 void RecordDebugBreakSlot();
1622 void RecordDebugBreakSlotForCall(int argc);
1623 void RecordDebugBreakSlotForConstructCall();
1622 1624
1623 // Record a comment relocation entry that can be used by a disassembler. 1625 // Record a comment relocation entry that can be used by a disassembler.
1624 // Use --code-comments to enable. 1626 // Use --code-comments to enable.
1625 void RecordComment(const char* msg); 1627 void RecordComment(const char* msg);
1626 1628
1627 // Record a deoptimization reason that can be used by a log or cpu profiler. 1629 // Record a deoptimization reason that can be used by a log or cpu profiler.
1628 // Use --trace-deopt to enable. 1630 // Use --trace-deopt to enable.
1629 void RecordDeoptReason(const int reason, const SourcePosition position); 1631 void RecordDeoptReason(const int reason, const SourcePosition position);
1630 1632
1631 void PatchConstantPoolAccessInstruction(int pc_offset, int offset, 1633 void PatchConstantPoolAccessInstruction(int pc_offset, int offset,
(...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after
2159 private: 2161 private:
2160 Assembler* assembler_; 2162 Assembler* assembler_;
2161 #ifdef DEBUG 2163 #ifdef DEBUG
2162 int space_before_; 2164 int space_before_;
2163 #endif 2165 #endif
2164 }; 2166 };
2165 2167
2166 } } // namespace v8::internal 2168 } } // namespace v8::internal
2167 2169
2168 #endif // V8_X64_ASSEMBLER_X64_H_ 2170 #endif // V8_X64_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/mips64/full-codegen-mips64.cc ('k') | src/x64/debug-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698