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

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

Issue 313083008: Add LoadTaggedClassIdMayBeSmi to assembly and improve performance of inline cache stubs. (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 622 matching lines...) Expand 10 before | Expand all | Expand 10 after
633 const Address& dest, 633 const Address& dest,
634 Register value); 634 Register value);
635 void StoreIntoObjectNoBarrier(Register object, 635 void StoreIntoObjectNoBarrier(Register object,
636 const Address& dest, 636 const Address& dest,
637 const Object& value); 637 const Object& value);
638 638
639 void LoadClassId(Register result, Register object, Condition cond = AL); 639 void LoadClassId(Register result, Register object, Condition cond = AL);
640 void LoadClassById(Register result, Register class_id); 640 void LoadClassById(Register result, Register class_id);
641 void LoadClass(Register result, Register object, Register scratch); 641 void LoadClass(Register result, Register object, Register scratch);
642 void CompareClassId(Register object, intptr_t class_id, Register scratch); 642 void CompareClassId(Register object, intptr_t class_id, Register scratch);
643 void LoadTaggedClassIdMayBeSmi(Register result, Register object);
643 644
644 void LoadWordFromPoolOffset(Register rd, int32_t offset, Condition cond = AL); 645 void LoadWordFromPoolOffset(Register rd, int32_t offset, Condition cond = AL);
645 void LoadFromOffset(OperandSize type, 646 void LoadFromOffset(OperandSize type,
646 Register reg, 647 Register reg,
647 Register base, 648 Register base,
648 int32_t offset, 649 int32_t offset,
649 Condition cond = AL); 650 Condition cond = AL);
650 void StoreToOffset(OperandSize type, 651 void StoreToOffset(OperandSize type,
651 Register reg, 652 Register reg,
652 Register base, 653 Register base,
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
925 Register value, 926 Register value,
926 Label* no_update); 927 Label* no_update);
927 928
928 DISALLOW_ALLOCATION(); 929 DISALLOW_ALLOCATION();
929 DISALLOW_COPY_AND_ASSIGN(Assembler); 930 DISALLOW_COPY_AND_ASSIGN(Assembler);
930 }; 931 };
931 932
932 } // namespace dart 933 } // namespace dart
933 934
934 #endif // VM_ASSEMBLER_ARM_H_ 935 #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