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 // This is forked from Dart revision df52deea9f25690eb8b66c5995da92b70f7ac1fe | 5 // This is forked from Dart revision df52deea9f25690eb8b66c5995da92b70f7ac1fe |
6 // Please update the (git) revision if we merge changes from Dart. | 6 // Please update the (git) revision if we merge changes from Dart. |
7 // https://code.google.com/p/dart/wiki/GettingTheSource | 7 // https://code.google.com/p/dart/wiki/GettingTheSource |
8 | 8 |
9 #ifndef VM_ASSEMBLER_ARM_H_ | 9 #ifndef VM_ASSEMBLER_ARM_H_ |
10 #define VM_ASSEMBLER_ARM_H_ | 10 #define VM_ASSEMBLER_ARM_H_ |
(...skipping 1051 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1062 } | 1062 } |
1063 | 1063 |
1064 private: | 1064 private: |
1065 AssemblerBuffer buffer_; // Contains position independent code. | 1065 AssemblerBuffer buffer_; // Contains position independent code. |
1066 ObjectPoolWrapper object_pool_wrapper_; | 1066 ObjectPoolWrapper object_pool_wrapper_; |
1067 | 1067 |
1068 int32_t prologue_offset_; | 1068 int32_t prologue_offset_; |
1069 | 1069 |
1070 bool use_far_branches_; | 1070 bool use_far_branches_; |
1071 | 1071 |
| 1072 #if 0 |
1072 // If you are thinking of using one or both of these instructions directly, | 1073 // If you are thinking of using one or both of these instructions directly, |
1073 // instead LoadImmediate should probably be used. | 1074 // instead LoadImmediate should probably be used. |
| 1075 // Moved to ARM::AssemblerARM32::movw |
1074 void movw(Register rd, uint16_t imm16, Condition cond = AL); | 1076 void movw(Register rd, uint16_t imm16, Condition cond = AL); |
| 1077 // Moved to ARM::AssemblerARM32::movt |
1075 void movt(Register rd, uint16_t imm16, Condition cond = AL); | 1078 void movt(Register rd, uint16_t imm16, Condition cond = AL); |
| 1079 #endif |
1076 | 1080 |
1077 void BindARMv6(Label* label); | 1081 void BindARMv6(Label* label); |
1078 void BindARMv7(Label* label); | 1082 void BindARMv7(Label* label); |
1079 | 1083 |
1080 void LoadWordFromPoolOffset(Register rd, | 1084 void LoadWordFromPoolOffset(Register rd, |
1081 int32_t offset, | 1085 int32_t offset, |
1082 Register pp, | 1086 Register pp, |
1083 Condition cond); | 1087 Condition cond); |
1084 | 1088 |
1085 void BranchLink(const ExternalLabel* label); | 1089 void BranchLink(const ExternalLabel* label); |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1246 Register new_value, | 1250 Register new_value, |
1247 FieldContent old_content); | 1251 FieldContent old_content); |
1248 | 1252 |
1249 DISALLOW_ALLOCATION(); | 1253 DISALLOW_ALLOCATION(); |
1250 DISALLOW_COPY_AND_ASSIGN(Assembler); | 1254 DISALLOW_COPY_AND_ASSIGN(Assembler); |
1251 }; | 1255 }; |
1252 | 1256 |
1253 } // namespace dart | 1257 } // namespace dart |
1254 | 1258 |
1255 #endif // VM_ASSEMBLER_ARM_H_ | 1259 #endif // VM_ASSEMBLER_ARM_H_ |
OLD | NEW |