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 <list> | 8 #include <list> |
9 #include <map> | 9 #include <map> |
10 #include <vector> | 10 #include <vector> |
(...skipping 989 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1000 StartBlockVeneerPool(); | 1000 StartBlockVeneerPool(); |
1001 } | 1001 } |
1002 void EndBlockPools() { | 1002 void EndBlockPools() { |
1003 EndBlockConstPool(); | 1003 EndBlockConstPool(); |
1004 EndBlockVeneerPool(); | 1004 EndBlockVeneerPool(); |
1005 } | 1005 } |
1006 | 1006 |
1007 // Debugging ---------------------------------------------------------------- | 1007 // Debugging ---------------------------------------------------------------- |
1008 PositionsRecorder* positions_recorder() { return &positions_recorder_; } | 1008 PositionsRecorder* positions_recorder() { return &positions_recorder_; } |
1009 void RecordComment(const char* msg); | 1009 void RecordComment(const char* msg); |
1010 | |
1011 // Record a deoptimization reason that can be used by a log or cpu profiler. | |
1012 // Use --trace-deopt to enable. | |
1013 void RecordDeoptReason(const int reason, const int raw_position); | |
1014 | |
1015 int buffer_space() const; | 1010 int buffer_space() const; |
1016 | 1011 |
1017 // Mark address of the ExitJSFrame code. | 1012 // Mark address of the ExitJSFrame code. |
1018 void RecordJSReturn(); | 1013 void RecordJSReturn(); |
1019 | 1014 |
1020 // Mark address of a debug break slot. | 1015 // Mark address of a debug break slot. |
1021 void RecordDebugBreakSlot(); | 1016 void RecordDebugBreakSlot(); |
1022 | 1017 |
1023 // Record the emission of a constant pool. | 1018 // Record the emission of a constant pool. |
1024 // | 1019 // |
(...skipping 1279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2304 class EnsureSpace BASE_EMBEDDED { | 2299 class EnsureSpace BASE_EMBEDDED { |
2305 public: | 2300 public: |
2306 explicit EnsureSpace(Assembler* assembler) { | 2301 explicit EnsureSpace(Assembler* assembler) { |
2307 assembler->CheckBufferSpace(); | 2302 assembler->CheckBufferSpace(); |
2308 } | 2303 } |
2309 }; | 2304 }; |
2310 | 2305 |
2311 } } // namespace v8::internal | 2306 } } // namespace v8::internal |
2312 | 2307 |
2313 #endif // V8_ARM64_ASSEMBLER_ARM64_H_ | 2308 #endif // V8_ARM64_ASSEMBLER_ARM64_H_ |
OLD | NEW |