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 | 10 |
(...skipping 631 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
642 | 642 |
643 inline int64_t immediate() const; | 643 inline int64_t immediate() const; |
644 inline Register reg() const; | 644 inline Register reg() const; |
645 inline Shift shift() const; | 645 inline Shift shift() const; |
646 inline Extend extend() const; | 646 inline Extend extend() const; |
647 inline unsigned shift_amount() const; | 647 inline unsigned shift_amount() const; |
648 | 648 |
649 // Relocation information. | 649 // Relocation information. |
650 RelocInfo::Mode rmode() const { return rmode_; } | 650 RelocInfo::Mode rmode() const { return rmode_; } |
651 void set_rmode(RelocInfo::Mode rmode) { rmode_ = rmode; } | 651 void set_rmode(RelocInfo::Mode rmode) { rmode_ = rmode; } |
652 bool NeedsRelocation() const; | 652 bool NeedsRelocation(Isolate* isolate) const; |
653 | 653 |
654 // Helpers | 654 // Helpers |
655 inline static Operand UntagSmi(Register smi); | 655 inline static Operand UntagSmi(Register smi); |
656 inline static Operand UntagSmiAndScale(Register smi, int scale); | 656 inline static Operand UntagSmiAndScale(Register smi, int scale); |
657 | 657 |
658 private: | 658 private: |
659 void initialize_handle(Handle<Object> value); | 659 void initialize_handle(Handle<Object> value); |
660 int64_t immediate_; | 660 int64_t immediate_; |
661 Register reg_; | 661 Register reg_; |
662 Shift shift_; | 662 Shift shift_; |
(...skipping 1562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2225 class EnsureSpace BASE_EMBEDDED { | 2225 class EnsureSpace BASE_EMBEDDED { |
2226 public: | 2226 public: |
2227 explicit EnsureSpace(Assembler* assembler) { | 2227 explicit EnsureSpace(Assembler* assembler) { |
2228 assembler->CheckBufferSpace(); | 2228 assembler->CheckBufferSpace(); |
2229 } | 2229 } |
2230 }; | 2230 }; |
2231 | 2231 |
2232 } } // namespace v8::internal | 2232 } } // namespace v8::internal |
2233 | 2233 |
2234 #endif // V8_ARM64_ASSEMBLER_ARM64_H_ | 2234 #endif // V8_ARM64_ASSEMBLER_ARM64_H_ |
OLD | NEW |