OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 654 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
665 | 665 |
666 inline int64_t immediate() const; | 666 inline int64_t immediate() const; |
667 inline Register reg() const; | 667 inline Register reg() const; |
668 inline Shift shift() const; | 668 inline Shift shift() const; |
669 inline Extend extend() const; | 669 inline Extend extend() const; |
670 inline unsigned shift_amount() const; | 670 inline unsigned shift_amount() const; |
671 | 671 |
672 // Relocation information. | 672 // Relocation information. |
673 RelocInfo::Mode rmode() const { return rmode_; } | 673 RelocInfo::Mode rmode() const { return rmode_; } |
674 void set_rmode(RelocInfo::Mode rmode) { rmode_ = rmode; } | 674 void set_rmode(RelocInfo::Mode rmode) { rmode_ = rmode; } |
675 bool NeedsRelocation() const; | 675 bool NeedsRelocation(Isolate* isolate) const; |
676 | 676 |
677 // Helpers | 677 // Helpers |
678 inline static Operand UntagSmi(Register smi); | 678 inline static Operand UntagSmi(Register smi); |
679 inline static Operand UntagSmiAndScale(Register smi, int scale); | 679 inline static Operand UntagSmiAndScale(Register smi, int scale); |
680 | 680 |
681 private: | 681 private: |
682 void initialize_handle(Handle<Object> value); | 682 void initialize_handle(Handle<Object> value); |
683 int64_t immediate_; | 683 int64_t immediate_; |
684 Register reg_; | 684 Register reg_; |
685 Shift shift_; | 685 Shift shift_; |
(...skipping 1562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2248 class EnsureSpace BASE_EMBEDDED { | 2248 class EnsureSpace BASE_EMBEDDED { |
2249 public: | 2249 public: |
2250 explicit EnsureSpace(Assembler* assembler) { | 2250 explicit EnsureSpace(Assembler* assembler) { |
2251 assembler->CheckBufferSpace(); | 2251 assembler->CheckBufferSpace(); |
2252 } | 2252 } |
2253 }; | 2253 }; |
2254 | 2254 |
2255 } } // namespace v8::internal | 2255 } } // namespace v8::internal |
2256 | 2256 |
2257 #endif // V8_ARM64_ASSEMBLER_ARM64_H_ | 2257 #endif // V8_ARM64_ASSEMBLER_ARM64_H_ |
OLD | NEW |