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

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

Issue 339593002: Fix bug in ARM instance field stores. (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_arm.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_ARM_H_ 5 #ifndef VM_ASSEMBLER_ARM_H_
6 #define VM_ASSEMBLER_ARM_H_ 6 #define VM_ASSEMBLER_ARM_H_
7 7
8 #ifndef VM_ASSEMBLER_H_ 8 #ifndef VM_ASSEMBLER_H_
9 #error Do not include assembler_arm.h directly; use assembler.h instead. 9 #error Do not include assembler_arm.h directly; use assembler.h instead.
10 #endif 10 #endif
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after
621 void LoadPoolPointer(); 621 void LoadPoolPointer();
622 622
623 void LoadObject(Register rd, const Object& object, Condition cond = AL); 623 void LoadObject(Register rd, const Object& object, Condition cond = AL);
624 void PushObject(const Object& object); 624 void PushObject(const Object& object);
625 void CompareObject(Register rn, const Object& object); 625 void CompareObject(Register rn, const Object& object);
626 626
627 void StoreIntoObject(Register object, // Object we are storing into. 627 void StoreIntoObject(Register object, // Object we are storing into.
628 const Address& dest, // Where we are storing into. 628 const Address& dest, // Where we are storing into.
629 Register value, // Value we are storing. 629 Register value, // Value we are storing.
630 bool can_value_be_smi = true); 630 bool can_value_be_smi = true);
631 void StoreIntoObjectOffset(Register object,
632 int32_t offset,
633 Register value,
634 bool can_value_be_smi = true);
631 635
632 void StoreIntoObjectNoBarrier(Register object, 636 void StoreIntoObjectNoBarrier(Register object,
633 const Address& dest, 637 const Address& dest,
634 Register value); 638 Register value);
639 void StoreIntoObjectNoBarrierOffset(Register object,
640 int32_t offset,
641 Register value);
635 void StoreIntoObjectNoBarrier(Register object, 642 void StoreIntoObjectNoBarrier(Register object,
636 const Address& dest, 643 const Address& dest,
637 const Object& value); 644 const Object& value);
645 void StoreIntoObjectNoBarrierOffset(Register object,
646 int32_t offset,
647 const Object& value);
638 648
639 void LoadClassId(Register result, Register object, Condition cond = AL); 649 void LoadClassId(Register result, Register object, Condition cond = AL);
640 void LoadClassById(Register result, Register class_id); 650 void LoadClassById(Register result, Register class_id);
641 void LoadClass(Register result, Register object, Register scratch); 651 void LoadClass(Register result, Register object, Register scratch);
642 void CompareClassId(Register object, intptr_t class_id, Register scratch); 652 void CompareClassId(Register object, intptr_t class_id, Register scratch);
643 void LoadTaggedClassIdMayBeSmi(Register result, Register object); 653 void LoadTaggedClassIdMayBeSmi(Register result, Register object);
644 654
645 void LoadWordFromPoolOffset(Register rd, int32_t offset, Condition cond = AL); 655 void LoadWordFromPoolOffset(Register rd, int32_t offset, Condition cond = AL);
646 void LoadFromOffset(OperandSize type, 656 void LoadFromOffset(OperandSize type,
647 Register reg, 657 Register reg,
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
926 Register value, 936 Register value,
927 Label* no_update); 937 Label* no_update);
928 938
929 DISALLOW_ALLOCATION(); 939 DISALLOW_ALLOCATION();
930 DISALLOW_COPY_AND_ASSIGN(Assembler); 940 DISALLOW_COPY_AND_ASSIGN(Assembler);
931 }; 941 };
932 942
933 } // namespace dart 943 } // namespace dart
934 944
935 #endif // VM_ASSEMBLER_ARM_H_ 945 #endif // VM_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/assembler_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698