| 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 780 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 791 | 791 |
| 792 // Instruction pattern from entrypoint is used in Dart frame prologs | 792 // Instruction pattern from entrypoint is used in Dart frame prologs |
| 793 // to set up the frame and save a PC which can be used to figure out the | 793 // to set up the frame and save a PC which can be used to figure out the |
| 794 // RawInstruction object corresponding to the code running in the frame. | 794 // RawInstruction object corresponding to the code running in the frame. |
| 795 static intptr_t EntryPointToPcMarkerOffset() { | 795 static intptr_t EntryPointToPcMarkerOffset() { |
| 796 return TargetCPUFeatures::store_pc_read_offset(); | 796 return TargetCPUFeatures::store_pc_read_offset(); |
| 797 } | 797 } |
| 798 | 798 |
| 799 void UpdateAllocationStats(intptr_t cid, | 799 void UpdateAllocationStats(intptr_t cid, |
| 800 Register temp_reg, | 800 Register temp_reg, |
| 801 Heap::Space space = Heap::kNew); | 801 Heap::Space space); |
| 802 | 802 |
| 803 void UpdateAllocationStatsWithSize(intptr_t cid, | 803 void UpdateAllocationStatsWithSize(intptr_t cid, |
| 804 Register size_reg, | 804 Register size_reg, |
| 805 Register temp_reg, | 805 Register temp_reg, |
| 806 Heap::Space space = Heap::kNew); | 806 Heap::Space space); |
| 807 | 807 |
| 808 Address ElementAddressForIntIndex(bool is_load, | 808 Address ElementAddressForIntIndex(bool is_load, |
| 809 bool is_external, | 809 bool is_external, |
| 810 intptr_t cid, | 810 intptr_t cid, |
| 811 intptr_t index_scale, | 811 intptr_t index_scale, |
| 812 Register array, | 812 Register array, |
| 813 intptr_t index, | 813 intptr_t index, |
| 814 Register temp); | 814 Register temp); |
| 815 | 815 |
| 816 Address ElementAddressForRegIndex(bool is_load, | 816 Address ElementAddressForRegIndex(bool is_load, |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 992 Register value, | 992 Register value, |
| 993 Label* no_update); | 993 Label* no_update); |
| 994 | 994 |
| 995 DISALLOW_ALLOCATION(); | 995 DISALLOW_ALLOCATION(); |
| 996 DISALLOW_COPY_AND_ASSIGN(Assembler); | 996 DISALLOW_COPY_AND_ASSIGN(Assembler); |
| 997 }; | 997 }; |
| 998 | 998 |
| 999 } // namespace dart | 999 } // namespace dart |
| 1000 | 1000 |
| 1001 #endif // VM_ASSEMBLER_ARM_H_ | 1001 #endif // VM_ASSEMBLER_ARM_H_ |
| OLD | NEW |