Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Side by Side Diff: runtime/vm/assembler_mips.h

Issue 605533003: Make subtype test stubs isolate-specific. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 1194 matching lines...) Expand 10 before | Expand all | Expand 10 after
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); 1212 void LoadIsolate(Register result);
1213 1213
1214 void LoadClassId(Register result, Register object); 1214 void LoadClassId(Register result, Register object);
1215 void LoadClassById(Register result, Register class_id); 1215 void LoadClassById(Register result, Register class_id, Isolate* isolate);
1216 void LoadClass(Register result, Register object); 1216 void LoadClass(Register result, Register object, Isolate* isolate);
1217 void LoadTaggedClassIdMayBeSmi(Register result, Register object); 1217 void LoadTaggedClassIdMayBeSmi(Register result, Register object);
1218 1218
1219 void StoreIntoObject(Register object, // Object we are storing into. 1219 void StoreIntoObject(Register object, // Object we are storing into.
1220 const Address& dest, // Where we are storing into. 1220 const Address& dest, // Where we are storing into.
1221 Register value, // Value we are storing. 1221 Register value, // Value we are storing.
1222 bool can_value_be_smi = true); 1222 bool can_value_be_smi = true);
1223 void StoreIntoObjectOffset(Register object, 1223 void StoreIntoObjectOffset(Register object,
1224 int32_t offset, 1224 int32_t offset,
1225 Register value, 1225 Register value,
1226 bool can_value_be_smi = true); 1226 bool can_value_be_smi = true);
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
1406 Register value, 1406 Register value,
1407 Label* no_update); 1407 Label* no_update);
1408 1408
1409 DISALLOW_ALLOCATION(); 1409 DISALLOW_ALLOCATION();
1410 DISALLOW_COPY_AND_ASSIGN(Assembler); 1410 DISALLOW_COPY_AND_ASSIGN(Assembler);
1411 }; 1411 };
1412 1412
1413 } // namespace dart 1413 } // namespace dart
1414 1414
1415 #endif // VM_ASSEMBLER_MIPS_H_ 1415 #endif // VM_ASSEMBLER_MIPS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698