| 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 679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 690 void LoadClass(Register result, Register object, Register scratch); | 690 void LoadClass(Register result, Register object, Register scratch); |
| 691 void CompareClassId(Register object, intptr_t class_id, Register scratch); | 691 void CompareClassId(Register object, intptr_t class_id, Register scratch); |
| 692 void LoadTaggedClassIdMayBeSmi(Register result, Register object); | 692 void LoadTaggedClassIdMayBeSmi(Register result, Register object); |
| 693 | 693 |
| 694 void LoadWordFromPoolOffset(Register rd, int32_t offset, Condition cond = AL); | 694 void LoadWordFromPoolOffset(Register rd, int32_t offset, Condition cond = AL); |
| 695 void LoadFromOffset(OperandSize type, | 695 void LoadFromOffset(OperandSize type, |
| 696 Register reg, | 696 Register reg, |
| 697 Register base, | 697 Register base, |
| 698 int32_t offset, | 698 int32_t offset, |
| 699 Condition cond = AL); | 699 Condition cond = AL); |
| 700 void LoadFieldFromOffset(OperandSize type, |
| 701 Register reg, |
| 702 Register base, |
| 703 int32_t offset, |
| 704 Condition cond = AL) { |
| 705 LoadFromOffset(type, reg, base, offset - kHeapObjectTag, cond); |
| 706 } |
| 700 void StoreToOffset(OperandSize type, | 707 void StoreToOffset(OperandSize type, |
| 701 Register reg, | 708 Register reg, |
| 702 Register base, | 709 Register base, |
| 703 int32_t offset, | 710 int32_t offset, |
| 704 Condition cond = AL); | 711 Condition cond = AL); |
| 705 void LoadSFromOffset(SRegister reg, | 712 void LoadSFromOffset(SRegister reg, |
| 706 Register base, | 713 Register base, |
| 707 int32_t offset, | 714 int32_t offset, |
| 708 Condition cond = AL); | 715 Condition cond = AL); |
| 709 void StoreSToOffset(SRegister reg, | 716 void StoreSToOffset(SRegister reg, |
| (...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1041 Register value, | 1048 Register value, |
| 1042 Label* no_update); | 1049 Label* no_update); |
| 1043 | 1050 |
| 1044 DISALLOW_ALLOCATION(); | 1051 DISALLOW_ALLOCATION(); |
| 1045 DISALLOW_COPY_AND_ASSIGN(Assembler); | 1052 DISALLOW_COPY_AND_ASSIGN(Assembler); |
| 1046 }; | 1053 }; |
| 1047 | 1054 |
| 1048 } // namespace dart | 1055 } // namespace dart |
| 1049 | 1056 |
| 1050 #endif // VM_ASSEMBLER_ARM_H_ | 1057 #endif // VM_ASSEMBLER_ARM_H_ |
| OLD | NEW |