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 651 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
662 Shift shift_; | 662 Shift shift_; |
663 Extend extend_; | 663 Extend extend_; |
664 unsigned shift_amount_; | 664 unsigned shift_amount_; |
665 RelocInfo::Mode rmode_; | 665 RelocInfo::Mode rmode_; |
666 }; | 666 }; |
667 | 667 |
668 | 668 |
669 // MemOperand represents a memory operand in a load or store instruction. | 669 // MemOperand represents a memory operand in a load or store instruction. |
670 class MemOperand { | 670 class MemOperand { |
671 public: | 671 public: |
| 672 inline explicit MemOperand(); |
672 inline explicit MemOperand(Register base, | 673 inline explicit MemOperand(Register base, |
673 ptrdiff_t offset = 0, | 674 ptrdiff_t offset = 0, |
674 AddrMode addrmode = Offset); | 675 AddrMode addrmode = Offset); |
675 inline explicit MemOperand(Register base, | 676 inline explicit MemOperand(Register base, |
676 Register regoffset, | 677 Register regoffset, |
677 Shift shift = LSL, | 678 Shift shift = LSL, |
678 unsigned shift_amount = 0); | 679 unsigned shift_amount = 0); |
679 inline explicit MemOperand(Register base, | 680 inline explicit MemOperand(Register base, |
680 Register regoffset, | 681 Register regoffset, |
681 Extend extend, | 682 Extend extend, |
(...skipping 1543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2225 class EnsureSpace BASE_EMBEDDED { | 2226 class EnsureSpace BASE_EMBEDDED { |
2226 public: | 2227 public: |
2227 explicit EnsureSpace(Assembler* assembler) { | 2228 explicit EnsureSpace(Assembler* assembler) { |
2228 assembler->CheckBufferSpace(); | 2229 assembler->CheckBufferSpace(); |
2229 } | 2230 } |
2230 }; | 2231 }; |
2231 | 2232 |
2232 } } // namespace v8::internal | 2233 } } // namespace v8::internal |
2233 | 2234 |
2234 #endif // V8_ARM64_ASSEMBLER_ARM64_H_ | 2235 #endif // V8_ARM64_ASSEMBLER_ARM64_H_ |
OLD | NEW |