| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef VM_ASSEMBLER_ARM_H_ | 5 #ifndef VM_ASSEMBLER_ARM_H_ |
| 6 #define VM_ASSEMBLER_ARM_H_ | 6 #define VM_ASSEMBLER_ARM_H_ |
| 7 | 7 |
| 8 #ifndef VM_ASSEMBLER_H_ | 8 #ifndef VM_ASSEMBLER_H_ |
| 9 #error Do not include assembler_arm.h directly; use assembler.h instead. | 9 #error Do not include assembler_arm.h directly; use assembler.h instead. |
| 10 #endif | 10 #endif |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 position_ = position + kWordSize; | 58 position_ = position + kWordSize; |
| 59 ASSERT(IsLinked()); | 59 ASSERT(IsLinked()); |
| 60 } | 60 } |
| 61 | 61 |
| 62 friend class Assembler; | 62 friend class Assembler; |
| 63 DISALLOW_COPY_AND_ASSIGN(Label); | 63 DISALLOW_COPY_AND_ASSIGN(Label); |
| 64 }; | 64 }; |
| 65 | 65 |
| 66 | 66 |
| 67 // Encodes Addressing Mode 1 - Data-processing operands. | 67 // Encodes Addressing Mode 1 - Data-processing operands. |
| 68 // TODO(regis): rename ShifterOperand to Operand. |
| 68 class ShifterOperand : public ValueObject { | 69 class ShifterOperand : public ValueObject { |
| 69 public: | 70 public: |
| 70 // Data-processing operands - Uninitialized. | 71 // Data-processing operands - Uninitialized. |
| 71 ShifterOperand() : type_(-1), encoding_(-1) { } | 72 ShifterOperand() : type_(-1), encoding_(-1) { } |
| 72 | 73 |
| 73 // Data-processing operands - Copy constructor. | 74 // Data-processing operands - Copy constructor. |
| 74 ShifterOperand(const ShifterOperand& other) | 75 ShifterOperand(const ShifterOperand& other) |
| 75 : ValueObject(), type_(other.type_), encoding_(other.encoding_) { } | 76 : ValueObject(), type_(other.type_), encoding_(other.encoding_) { } |
| 76 | 77 |
| 77 // Data-processing operands - Assignment operator. | 78 // Data-processing operands - Assignment operator. |
| (...skipping 843 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 921 Register value, | 922 Register value, |
| 922 Label* no_update); | 923 Label* no_update); |
| 923 | 924 |
| 924 DISALLOW_ALLOCATION(); | 925 DISALLOW_ALLOCATION(); |
| 925 DISALLOW_COPY_AND_ASSIGN(Assembler); | 926 DISALLOW_COPY_AND_ASSIGN(Assembler); |
| 926 }; | 927 }; |
| 927 | 928 |
| 928 } // namespace dart | 929 } // namespace dart |
| 929 | 930 |
| 930 #endif // VM_ASSEMBLER_ARM_H_ | 931 #endif // VM_ASSEMBLER_ARM_H_ |
| OLD | NEW |