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

Side by Side Diff: src/arm64/assembler-arm64.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/arm/full-codegen-arm.cc ('k') | src/arm64/debug-arm64.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_ARM64_ASSEMBLER_ARM64_H_ 5 #ifndef V8_ARM64_ASSEMBLER_ARM64_H_
6 #define V8_ARM64_ASSEMBLER_ARM64_H_ 6 #define V8_ARM64_ASSEMBLER_ARM64_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 1009 matching lines...) Expand 10 before | Expand all | Expand 10 after
1020 // Use --trace-deopt to enable. 1020 // Use --trace-deopt to enable.
1021 void RecordDeoptReason(const int reason, const SourcePosition position); 1021 void RecordDeoptReason(const int reason, const SourcePosition position);
1022 1022
1023 int buffer_space() const; 1023 int buffer_space() const;
1024 1024
1025 // Mark address of the ExitJSFrame code. 1025 // Mark address of the ExitJSFrame code.
1026 void RecordJSReturn(); 1026 void RecordJSReturn();
1027 1027
1028 // Mark address of a debug break slot. 1028 // Mark address of a debug break slot.
1029 void RecordDebugBreakSlot(); 1029 void RecordDebugBreakSlot();
1030 void RecordDebugBreakSlotForCall(int argc);
1031 void RecordDebugBreakSlotForConstructCall();
1030 1032
1031 // Record the emission of a constant pool. 1033 // Record the emission of a constant pool.
1032 // 1034 //
1033 // The emission of constant and veneer pools depends on the size of the code 1035 // The emission of constant and veneer pools depends on the size of the code
1034 // generated and the number of RelocInfo recorded. 1036 // generated and the number of RelocInfo recorded.
1035 // The Debug mechanism needs to map code offsets between two versions of a 1037 // The Debug mechanism needs to map code offsets between two versions of a
1036 // function, compiled with and without debugger support (see for example 1038 // function, compiled with and without debugger support (see for example
1037 // Debug::PrepareForBreakPoints()). 1039 // Debug::PrepareForBreakPoints()).
1038 // Compiling functions with debugger support generates additional code 1040 // Compiling functions with debugger support generates additional code
1039 // (DebugCodegen::GenerateSlot()). This may affect the emission of the pools 1041 // (DebugCodegen::GenerateSlot()). This may affect the emission of the pools
(...skipping 1283 matching lines...) Expand 10 before | Expand all | Expand 10 after
2323 class EnsureSpace BASE_EMBEDDED { 2325 class EnsureSpace BASE_EMBEDDED {
2324 public: 2326 public:
2325 explicit EnsureSpace(Assembler* assembler) { 2327 explicit EnsureSpace(Assembler* assembler) {
2326 assembler->CheckBufferSpace(); 2328 assembler->CheckBufferSpace();
2327 } 2329 }
2328 }; 2330 };
2329 2331
2330 } } // namespace v8::internal 2332 } } // namespace v8::internal
2331 2333
2332 #endif // V8_ARM64_ASSEMBLER_ARM64_H_ 2334 #endif // V8_ARM64_ASSEMBLER_ARM64_H_
OLDNEW
« no previous file with comments | « src/arm/full-codegen-arm.cc ('k') | src/arm64/debug-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698