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_INL_H_ | 5 #ifndef V8_ARM64_ASSEMBLER_ARM64_INL_H_ |
6 #define V8_ARM64_ASSEMBLER_ARM64_INL_H_ | 6 #define V8_ARM64_ASSEMBLER_ARM64_INL_H_ |
7 | 7 |
8 #include "src/arm64/assembler-arm64.h" | 8 #include "src/arm64/assembler-arm64.h" |
9 #include "src/assembler.h" | 9 #include "src/assembler.h" |
10 #include "src/debug/debug.h" | 10 #include "src/debug/debug.h" |
(...skipping 1255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1266 inline void Assembler::CheckBuffer() { | 1266 inline void Assembler::CheckBuffer() { |
1267 CheckBufferSpace(); | 1267 CheckBufferSpace(); |
1268 if (pc_offset() >= next_veneer_pool_check_) { | 1268 if (pc_offset() >= next_veneer_pool_check_) { |
1269 CheckVeneerPool(false, true); | 1269 CheckVeneerPool(false, true); |
1270 } | 1270 } |
1271 if (pc_offset() >= next_constant_pool_check_) { | 1271 if (pc_offset() >= next_constant_pool_check_) { |
1272 CheckConstPool(false, true); | 1272 CheckConstPool(false, true); |
1273 } | 1273 } |
1274 } | 1274 } |
1275 | 1275 |
1276 | |
1277 TypeFeedbackId Assembler::RecordedAstId() { | |
1278 DCHECK(!recorded_ast_id_.IsNone()); | |
1279 return recorded_ast_id_; | |
1280 } | |
1281 | |
1282 | |
1283 void Assembler::ClearRecordedAstId() { | |
1284 recorded_ast_id_ = TypeFeedbackId::None(); | |
1285 } | |
1286 | |
1287 | |
1288 } // namespace internal | 1276 } // namespace internal |
1289 } // namespace v8 | 1277 } // namespace v8 |
1290 | 1278 |
1291 #endif // V8_ARM64_ASSEMBLER_ARM64_INL_H_ | 1279 #endif // V8_ARM64_ASSEMBLER_ARM64_INL_H_ |
OLD | NEW |