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.h" | 10 #include "src/debug.h" |
(...skipping 642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
653 } | 653 } |
654 | 654 |
655 | 655 |
656 void Assembler::deserialization_set_special_target_at( | 656 void Assembler::deserialization_set_special_target_at( |
657 Address constant_pool_entry, Code* code, Address target) { | 657 Address constant_pool_entry, Code* code, Address target) { |
658 Memory::Address_at(constant_pool_entry) = target; | 658 Memory::Address_at(constant_pool_entry) = target; |
659 } | 659 } |
660 | 660 |
661 | 661 |
662 void Assembler::deserialization_set_target_internal_reference_at( | 662 void Assembler::deserialization_set_target_internal_reference_at( |
663 Address pc, Address target) { | 663 Address pc, Address target, RelocInfo::Mode mode) { |
664 Memory::Address_at(pc) = target; | 664 Memory::Address_at(pc) = target; |
665 } | 665 } |
666 | 666 |
667 | 667 |
668 void Assembler::set_target_address_at(Address pc, | 668 void Assembler::set_target_address_at(Address pc, |
669 ConstantPoolArray* constant_pool, | 669 ConstantPoolArray* constant_pool, |
670 Address target, | 670 Address target, |
671 ICacheFlushMode icache_flush_mode) { | 671 ICacheFlushMode icache_flush_mode) { |
672 Memory::Address_at(target_pointer_address_at(pc)) = target; | 672 Memory::Address_at(target_pointer_address_at(pc)) = target; |
673 // Intuitively, we would think it is necessary to always flush the | 673 // Intuitively, we would think it is necessary to always flush the |
(...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1293 | 1293 |
1294 | 1294 |
1295 void Assembler::ClearRecordedAstId() { | 1295 void Assembler::ClearRecordedAstId() { |
1296 recorded_ast_id_ = TypeFeedbackId::None(); | 1296 recorded_ast_id_ = TypeFeedbackId::None(); |
1297 } | 1297 } |
1298 | 1298 |
1299 | 1299 |
1300 } } // namespace v8::internal | 1300 } } // namespace v8::internal |
1301 | 1301 |
1302 #endif // V8_ARM64_ASSEMBLER_ARM64_INL_H_ | 1302 #endif // V8_ARM64_ASSEMBLER_ARM64_INL_H_ |
OLD | NEW |