| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |