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 #include <vector> | 10 #include <vector> |
(...skipping 679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
690 Register reg_; | 690 Register reg_; |
691 Shift shift_; | 691 Shift shift_; |
692 Extend extend_; | 692 Extend extend_; |
693 unsigned shift_amount_; | 693 unsigned shift_amount_; |
694 }; | 694 }; |
695 | 695 |
696 | 696 |
697 // MemOperand represents a memory operand in a load or store instruction. | 697 // MemOperand represents a memory operand in a load or store instruction. |
698 class MemOperand { | 698 class MemOperand { |
699 public: | 699 public: |
700 inline explicit MemOperand(); | 700 inline MemOperand(); |
701 inline explicit MemOperand(Register base, | 701 inline explicit MemOperand(Register base, |
702 ptrdiff_t offset = 0, | 702 ptrdiff_t offset = 0, |
703 AddrMode addrmode = Offset); | 703 AddrMode addrmode = Offset); |
704 inline explicit MemOperand(Register base, | 704 inline explicit MemOperand(Register base, |
705 Register regoffset, | 705 Register regoffset, |
706 Shift shift = LSL, | 706 Shift shift = LSL, |
707 unsigned shift_amount = 0); | 707 unsigned shift_amount = 0); |
708 inline explicit MemOperand(Register base, | 708 inline explicit MemOperand(Register base, |
709 Register regoffset, | 709 Register regoffset, |
710 Extend extend, | 710 Extend extend, |
(...skipping 1588 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2299 class EnsureSpace BASE_EMBEDDED { | 2299 class EnsureSpace BASE_EMBEDDED { |
2300 public: | 2300 public: |
2301 explicit EnsureSpace(Assembler* assembler) { | 2301 explicit EnsureSpace(Assembler* assembler) { |
2302 assembler->CheckBufferSpace(); | 2302 assembler->CheckBufferSpace(); |
2303 } | 2303 } |
2304 }; | 2304 }; |
2305 | 2305 |
2306 } } // namespace v8::internal | 2306 } } // namespace v8::internal |
2307 | 2307 |
2308 #endif // V8_ARM64_ASSEMBLER_ARM64_H_ | 2308 #endif // V8_ARM64_ASSEMBLER_ARM64_H_ |
OLD | NEW |