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

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

Issue 338353005: Fixes field access on MIPS for classes with many fields. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 6 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
« no previous file with comments | « no previous file | runtime/vm/assembler_mips.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1171 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 void LoadTaggedClassIdMayBeSmi(Register result, Register object);
1187 1187
1188 void StoreIntoObject(Register object, // Object we are storing into. 1188 void StoreIntoObject(Register object, // Object we are storing into.
1189 const Address& dest, // Where we are storing into. 1189 const Address& dest, // Where we are storing into.
1190 Register value, // Value we are storing. 1190 Register value, // Value we are storing.
1191 bool can_value_be_smi = true); 1191 bool can_value_be_smi = true);
1192 void StoreIntoObjectOffset(Register object,
1193 int32_t offset,
1194 Register value,
1195 bool can_value_be_smi = true);
1192 1196
1193 void StoreIntoObjectNoBarrier(Register object, 1197 void StoreIntoObjectNoBarrier(Register object,
1194 const Address& dest, 1198 const Address& dest,
1195 Register value); 1199 Register value);
1200 void StoreIntoObjectNoBarrierOffset(Register object,
1201 int32_t offset,
1202 Register value);
1196 void StoreIntoObjectNoBarrier(Register object, 1203 void StoreIntoObjectNoBarrier(Register object,
1197 const Address& dest, 1204 const Address& dest,
1198 const Object& value); 1205 const Object& value);
1206 void StoreIntoObjectNoBarrierOffset(Register object,
1207 int32_t offset,
1208 const Object& value);
1199 1209
1200 void CallRuntime(const RuntimeEntry& entry, intptr_t argument_count); 1210 void CallRuntime(const RuntimeEntry& entry, intptr_t argument_count);
1201 1211
1202 // Set up a Dart frame on entry with a frame pointer and PC information to 1212 // Set up a Dart frame on entry with a frame pointer and PC information to
1203 // enable easy access to the RawInstruction object of code corresponding 1213 // enable easy access to the RawInstruction object of code corresponding
1204 // to this frame. 1214 // to this frame.
1205 void EnterDartFrame(intptr_t frame_size); 1215 void EnterDartFrame(intptr_t frame_size);
1206 void LeaveDartFrame(); 1216 void LeaveDartFrame();
1207 void LeaveDartFrameAndReturn(); 1217 void LeaveDartFrameAndReturn();
1208 1218
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
1344 Register value, 1354 Register value,
1345 Label* no_update); 1355 Label* no_update);
1346 1356
1347 DISALLOW_ALLOCATION(); 1357 DISALLOW_ALLOCATION();
1348 DISALLOW_COPY_AND_ASSIGN(Assembler); 1358 DISALLOW_COPY_AND_ASSIGN(Assembler);
1349 }; 1359 };
1350 1360
1351 } // namespace dart 1361 } // namespace dart
1352 1362
1353 #endif // VM_ASSEMBLER_MIPS_H_ 1363 #endif // VM_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/assembler_mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698