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 915 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
926 // Record a deoptimization reason that can be used by a log or cpu profiler. | 926 // Record a deoptimization reason that can be used by a log or cpu profiler. |
927 // Use --trace-deopt to enable. | 927 // Use --trace-deopt to enable. |
928 void RecordDeoptReason(const int reason, const SourcePosition position); | 928 void RecordDeoptReason(const int reason, const SourcePosition position); |
929 | 929 |
930 int buffer_space() const; | 930 int buffer_space() const; |
931 | 931 |
932 // Mark generator continuation. | 932 // Mark generator continuation. |
933 void RecordGeneratorContinuation(); | 933 void RecordGeneratorContinuation(); |
934 | 934 |
935 // Mark address of a debug break slot. | 935 // Mark address of a debug break slot. |
936 void RecordDebugBreakSlot(RelocInfo::Mode mode, int argc = 0); | 936 void RecordDebugBreakSlot(RelocInfo::Mode mode); |
937 | 937 |
938 // Record the emission of a constant pool. | 938 // Record the emission of a constant pool. |
939 // | 939 // |
940 // The emission of constant and veneer pools depends on the size of the code | 940 // The emission of constant and veneer pools depends on the size of the code |
941 // generated and the number of RelocInfo recorded. | 941 // generated and the number of RelocInfo recorded. |
942 // The Debug mechanism needs to map code offsets between two versions of a | 942 // The Debug mechanism needs to map code offsets between two versions of a |
943 // function, compiled with and without debugger support (see for example | 943 // function, compiled with and without debugger support (see for example |
944 // Debug::PrepareForBreakPoints()). | 944 // Debug::PrepareForBreakPoints()). |
945 // Compiling functions with debugger support generates additional code | 945 // Compiling functions with debugger support generates additional code |
946 // (DebugCodegen::GenerateSlot()). This may affect the emission of the pools | 946 // (DebugCodegen::GenerateSlot()). This may affect the emission of the pools |
(...skipping 1238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2185 public: | 2185 public: |
2186 explicit EnsureSpace(Assembler* assembler) { | 2186 explicit EnsureSpace(Assembler* assembler) { |
2187 assembler->CheckBufferSpace(); | 2187 assembler->CheckBufferSpace(); |
2188 } | 2188 } |
2189 }; | 2189 }; |
2190 | 2190 |
2191 } // namespace internal | 2191 } // namespace internal |
2192 } // namespace v8 | 2192 } // namespace v8 |
2193 | 2193 |
2194 #endif // V8_ARM64_ASSEMBLER_ARM64_H_ | 2194 #endif // V8_ARM64_ASSEMBLER_ARM64_H_ |
OLD | NEW |