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 1191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1202 void LoadWordFromPoolOffset(Register rd, int32_t offset); | 1202 void LoadWordFromPoolOffset(Register rd, int32_t offset); |
1203 void LoadObject(Register rd, const Object& object); | 1203 void LoadObject(Register rd, const Object& object); |
1204 void PushObject(const Object& object); | 1204 void PushObject(const Object& object); |
1205 | 1205 |
1206 // Compares rn with the object. Returns results in rd1 and rd2. | 1206 // Compares rn with the object. Returns results in rd1 and rd2. |
1207 // rd1 is 1 if rn < object. rd2 is 1 if object < rn. Since both cannot be | 1207 // rd1 is 1 if rn < object. rd2 is 1 if object < rn. Since both cannot be |
1208 // 1, rd1 == rd2 (== 0) iff rn == object. | 1208 // 1, rd1 == rd2 (== 0) iff rn == object. |
1209 void CompareObject(Register rd1, Register rd2, | 1209 void CompareObject(Register rd1, Register rd2, |
1210 Register rn, const Object& object); | 1210 Register rn, const Object& object); |
1211 | 1211 |
| 1212 void LoadIsolate(Register result); |
| 1213 |
1212 void LoadClassId(Register result, Register object); | 1214 void LoadClassId(Register result, Register object); |
1213 void LoadClassById(Register result, Register class_id); | 1215 void LoadClassById(Register result, Register class_id); |
1214 void LoadClass(Register result, Register object); | 1216 void LoadClass(Register result, Register object); |
1215 void LoadTaggedClassIdMayBeSmi(Register result, Register object); | 1217 void LoadTaggedClassIdMayBeSmi(Register result, Register object); |
1216 | 1218 |
1217 void StoreIntoObject(Register object, // Object we are storing into. | 1219 void StoreIntoObject(Register object, // Object we are storing into. |
1218 const Address& dest, // Where we are storing into. | 1220 const Address& dest, // Where we are storing into. |
1219 Register value, // Value we are storing. | 1221 Register value, // Value we are storing. |
1220 bool can_value_be_smi = true); | 1222 bool can_value_be_smi = true); |
1221 void StoreIntoObjectOffset(Register object, | 1223 void StoreIntoObjectOffset(Register object, |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1404 Register value, | 1406 Register value, |
1405 Label* no_update); | 1407 Label* no_update); |
1406 | 1408 |
1407 DISALLOW_ALLOCATION(); | 1409 DISALLOW_ALLOCATION(); |
1408 DISALLOW_COPY_AND_ASSIGN(Assembler); | 1410 DISALLOW_COPY_AND_ASSIGN(Assembler); |
1409 }; | 1411 }; |
1410 | 1412 |
1411 } // namespace dart | 1413 } // namespace dart |
1412 | 1414 |
1413 #endif // VM_ASSEMBLER_MIPS_H_ | 1415 #endif // VM_ASSEMBLER_MIPS_H_ |
OLD | NEW |