| 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_MIPS_H_ | 5 #ifndef VM_ASSEMBLER_MIPS_H_ |
| 6 #define VM_ASSEMBLER_MIPS_H_ | 6 #define VM_ASSEMBLER_MIPS_H_ |
| 7 | 7 |
| 8 #ifndef VM_ASSEMBLER_H_ | 8 #ifndef VM_ASSEMBLER_H_ |
| 9 #error Do not include assembler_mips.h directly; use assembler.h instead. | 9 #error Do not include assembler_mips.h directly; use assembler.h instead. |
| 10 #endif | 10 #endif |
| (...skipping 1165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1176 | 1176 |
| 1177 // Compares rn with the object. Returns results in rd1 and rd2. | 1177 // Compares rn with the object. Returns results in rd1 and rd2. |
| 1178 // rd1 is 1 if rn < object. rd2 is 1 if object < rn. Since both cannot be | 1178 // rd1 is 1 if rn < object. rd2 is 1 if object < rn. Since both cannot be |
| 1179 // 1, rd1 == rd2 (== 0) iff rn == object. | 1179 // 1, rd1 == rd2 (== 0) iff rn == object. |
| 1180 void CompareObject(Register rd1, Register rd2, | 1180 void CompareObject(Register rd1, Register rd2, |
| 1181 Register rn, const Object& object); | 1181 Register rn, const Object& object); |
| 1182 | 1182 |
| 1183 void LoadClassId(Register result, Register object); | 1183 void LoadClassId(Register result, Register object); |
| 1184 void LoadClassById(Register result, Register class_id); | 1184 void LoadClassById(Register result, Register class_id); |
| 1185 void LoadClass(Register result, Register object); | 1185 void LoadClass(Register result, Register object); |
| 1186 void LoadTaggedClassIdMayBeSmi(Register result, Register object); |
| 1186 | 1187 |
| 1187 void StoreIntoObject(Register object, // Object we are storing into. | 1188 void StoreIntoObject(Register object, // Object we are storing into. |
| 1188 const Address& dest, // Where we are storing into. | 1189 const Address& dest, // Where we are storing into. |
| 1189 Register value, // Value we are storing. | 1190 Register value, // Value we are storing. |
| 1190 bool can_value_be_smi = true); | 1191 bool can_value_be_smi = true); |
| 1191 | 1192 |
| 1192 void StoreIntoObjectNoBarrier(Register object, | 1193 void StoreIntoObjectNoBarrier(Register object, |
| 1193 const Address& dest, | 1194 const Address& dest, |
| 1194 Register value); | 1195 Register value); |
| 1195 void StoreIntoObjectNoBarrier(Register object, | 1196 void StoreIntoObjectNoBarrier(Register object, |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1343 Register value, | 1344 Register value, |
| 1344 Label* no_update); | 1345 Label* no_update); |
| 1345 | 1346 |
| 1346 DISALLOW_ALLOCATION(); | 1347 DISALLOW_ALLOCATION(); |
| 1347 DISALLOW_COPY_AND_ASSIGN(Assembler); | 1348 DISALLOW_COPY_AND_ASSIGN(Assembler); |
| 1348 }; | 1349 }; |
| 1349 | 1350 |
| 1350 } // namespace dart | 1351 } // namespace dart |
| 1351 | 1352 |
| 1352 #endif // VM_ASSEMBLER_MIPS_H_ | 1353 #endif // VM_ASSEMBLER_MIPS_H_ |
| OLD | NEW |