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

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

Issue 1233823002: X87: Debugger: use debug break slot to break on call. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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 | « no previous file | src/x87/debug-x87.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 938 matching lines...) Expand 10 before | Expand all | Expand 10 after
949 // Check the code size generated from label to here. 949 // Check the code size generated from label to here.
950 int SizeOfCodeGeneratedSince(Label* label) { 950 int SizeOfCodeGeneratedSince(Label* label) {
951 return pc_offset() - label->pos(); 951 return pc_offset() - label->pos();
952 } 952 }
953 953
954 // Mark address of the ExitJSFrame code. 954 // Mark address of the ExitJSFrame code.
955 void RecordJSReturn(); 955 void RecordJSReturn();
956 956
957 // Mark address of a debug break slot. 957 // Mark address of a debug break slot.
958 void RecordDebugBreakSlot(); 958 void RecordDebugBreakSlot();
959 void RecordDebugBreakSlotForCall(int argc);
960 void RecordDebugBreakSlotForConstructCall();
959 961
960 // Record a comment relocation entry that can be used by a disassembler. 962 // Record a comment relocation entry that can be used by a disassembler.
961 // Use --code-comments to enable. 963 // Use --code-comments to enable.
962 void RecordComment(const char* msg); 964 void RecordComment(const char* msg);
963 965
964 // Record a deoptimization reason that can be used by a log or cpu profiler. 966 // Record a deoptimization reason that can be used by a log or cpu profiler.
965 // Use --trace-deopt to enable. 967 // Use --trace-deopt to enable.
966 void RecordDeoptReason(const int reason, const SourcePosition position); 968 void RecordDeoptReason(const int reason, const SourcePosition position);
967 969
968 // Writes a single byte or word of data in the code stream. Used for 970 // Writes a single byte or word of data in the code stream. Used for
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
1100 private: 1102 private:
1101 Assembler* assembler_; 1103 Assembler* assembler_;
1102 #ifdef DEBUG 1104 #ifdef DEBUG
1103 int space_before_; 1105 int space_before_;
1104 #endif 1106 #endif
1105 }; 1107 };
1106 1108
1107 } } // namespace v8::internal 1109 } } // namespace v8::internal
1108 1110
1109 #endif // V8_X87_ASSEMBLER_X87_H_ 1111 #endif // V8_X87_ASSEMBLER_X87_H_
OLDNEW
« no previous file with comments | « no previous file | src/x87/debug-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698