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 920 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
931 // Debugging ---------------------------------------------------------------- | 931 // Debugging ---------------------------------------------------------------- |
932 void RecordComment(const char* msg); | 932 void RecordComment(const char* msg); |
933 | 933 |
934 // Record a deoptimization reason that can be used by a log or cpu profiler. | 934 // Record a deoptimization reason that can be used by a log or cpu profiler. |
935 // Use --trace-deopt to enable. | 935 // Use --trace-deopt to enable. |
936 void RecordDeoptReason(DeoptimizeReason reason, SourcePosition position, | 936 void RecordDeoptReason(DeoptimizeReason reason, SourcePosition position, |
937 int id); | 937 int id); |
938 | 938 |
939 int buffer_space() const; | 939 int buffer_space() const; |
940 | 940 |
941 // Mark generator continuation. | |
942 void RecordGeneratorContinuation(); | |
943 | |
944 // Mark address of a debug break slot. | 941 // Mark address of a debug break slot. |
945 void RecordDebugBreakSlot(RelocInfo::Mode mode); | 942 void RecordDebugBreakSlot(RelocInfo::Mode mode); |
946 | 943 |
947 // Record the emission of a constant pool. | 944 // Record the emission of a constant pool. |
948 // | 945 // |
949 // The emission of constant and veneer pools depends on the size of the code | 946 // The emission of constant and veneer pools depends on the size of the code |
950 // generated and the number of RelocInfo recorded. | 947 // generated and the number of RelocInfo recorded. |
951 // The Debug mechanism needs to map code offsets between two versions of a | 948 // The Debug mechanism needs to map code offsets between two versions of a |
952 // function, compiled with and without debugger support (see for example | 949 // function, compiled with and without debugger support (see for example |
953 // Debug::PrepareForBreakPoints()). | 950 // Debug::PrepareForBreakPoints()). |
(...skipping 1279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2233 public: | 2230 public: |
2234 explicit EnsureSpace(Assembler* assembler) { | 2231 explicit EnsureSpace(Assembler* assembler) { |
2235 assembler->CheckBufferSpace(); | 2232 assembler->CheckBufferSpace(); |
2236 } | 2233 } |
2237 }; | 2234 }; |
2238 | 2235 |
2239 } // namespace internal | 2236 } // namespace internal |
2240 } // namespace v8 | 2237 } // namespace v8 |
2241 | 2238 |
2242 #endif // V8_ARM64_ASSEMBLER_ARM64_H_ | 2239 #endif // V8_ARM64_ASSEMBLER_ARM64_H_ |
OLD | NEW |