| 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 650 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 661 void StoreIntoObjectNoBarrierOffset(Register object, | 661 void StoreIntoObjectNoBarrierOffset(Register object, |
| 662 int32_t offset, | 662 int32_t offset, |
| 663 Register value); | 663 Register value); |
| 664 void StoreIntoObjectNoBarrier(Register object, | 664 void StoreIntoObjectNoBarrier(Register object, |
| 665 const Address& dest, | 665 const Address& dest, |
| 666 const Object& value); | 666 const Object& value); |
| 667 void StoreIntoObjectNoBarrierOffset(Register object, | 667 void StoreIntoObjectNoBarrierOffset(Register object, |
| 668 int32_t offset, | 668 int32_t offset, |
| 669 const Object& value); | 669 const Object& value); |
| 670 | 670 |
| 671 // Store value_even, value_odd, value_even, ... into the words in the address |
| 672 // range [begin, end), assumed to be uninitialized fields in object (tagged). |
| 673 // The stores must not need a generational store barrier (e.g., smi/null), |
| 674 // and (value_even, value_odd) must be a valid register pair. |
| 675 void InitializeFieldsNoBarrier(Register object, |
| 676 Register begin, |
| 677 Register end, |
| 678 Register value_even, |
| 679 Register value_odd); |
| 680 |
| 671 void LoadClassId(Register result, Register object, Condition cond = AL); | 681 void LoadClassId(Register result, Register object, Condition cond = AL); |
| 672 void LoadClassById(Register result, Register class_id); | 682 void LoadClassById(Register result, Register class_id); |
| 673 void LoadClass(Register result, Register object, Register scratch); | 683 void LoadClass(Register result, Register object, Register scratch); |
| 674 void CompareClassId(Register object, intptr_t class_id, Register scratch); | 684 void CompareClassId(Register object, intptr_t class_id, Register scratch); |
| 675 void LoadTaggedClassIdMayBeSmi(Register result, Register object); | 685 void LoadTaggedClassIdMayBeSmi(Register result, Register object); |
| 676 | 686 |
| 677 void LoadWordFromPoolOffset(Register rd, int32_t offset, Condition cond = AL); | 687 void LoadWordFromPoolOffset(Register rd, int32_t offset, Condition cond = AL); |
| 678 void LoadFromOffset(OperandSize type, | 688 void LoadFromOffset(OperandSize type, |
| 679 Register reg, | 689 Register reg, |
| 680 Register base, | 690 Register base, |
| (...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1024 Register value, | 1034 Register value, |
| 1025 Label* no_update); | 1035 Label* no_update); |
| 1026 | 1036 |
| 1027 DISALLOW_ALLOCATION(); | 1037 DISALLOW_ALLOCATION(); |
| 1028 DISALLOW_COPY_AND_ASSIGN(Assembler); | 1038 DISALLOW_COPY_AND_ASSIGN(Assembler); |
| 1029 }; | 1039 }; |
| 1030 | 1040 |
| 1031 } // namespace dart | 1041 } // namespace dart |
| 1032 | 1042 |
| 1033 #endif // VM_ASSEMBLER_ARM_H_ | 1043 #endif // VM_ASSEMBLER_ARM_H_ |
| OLD | NEW |