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 1007 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1018 | 1018 |
1019 // Record a deoptimization reason that can be used by a log or cpu profiler. | 1019 // Record a deoptimization reason that can be used by a log or cpu profiler. |
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 generator continuation. |
| 1029 void RecordGeneratorContinuation(); |
| 1030 |
1028 // Mark address of a debug break slot. | 1031 // Mark address of a debug break slot. |
1029 void RecordDebugBreakSlot(); | 1032 void RecordDebugBreakSlot(); |
1030 void RecordDebugBreakSlotForCall(int argc); | 1033 void RecordDebugBreakSlotForCall(int argc); |
1031 void RecordDebugBreakSlotForConstructCall(); | 1034 void RecordDebugBreakSlotForConstructCall(); |
1032 | 1035 |
1033 // Record the emission of a constant pool. | 1036 // Record the emission of a constant pool. |
1034 // | 1037 // |
1035 // The emission of constant and veneer pools depends on the size of the code | 1038 // The emission of constant and veneer pools depends on the size of the code |
1036 // generated and the number of RelocInfo recorded. | 1039 // generated and the number of RelocInfo recorded. |
1037 // The Debug mechanism needs to map code offsets between two versions of a | 1040 // The Debug mechanism needs to map code offsets between two versions of a |
(...skipping 1287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2325 class EnsureSpace BASE_EMBEDDED { | 2328 class EnsureSpace BASE_EMBEDDED { |
2326 public: | 2329 public: |
2327 explicit EnsureSpace(Assembler* assembler) { | 2330 explicit EnsureSpace(Assembler* assembler) { |
2328 assembler->CheckBufferSpace(); | 2331 assembler->CheckBufferSpace(); |
2329 } | 2332 } |
2330 }; | 2333 }; |
2331 | 2334 |
2332 } } // namespace v8::internal | 2335 } } // namespace v8::internal |
2333 | 2336 |
2334 #endif // V8_ARM64_ASSEMBLER_ARM64_H_ | 2337 #endif // V8_ARM64_ASSEMBLER_ARM64_H_ |
OLD | NEW |