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

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

Issue 1217323002: Intrinsic version of Object.runtimeType (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: more Created 5 years, 5 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
« no previous file with comments | « no previous file | runtime/vm/assembler_arm.cc » ('j') | tests/language/runtime_type_test.dart » ('J')
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 721 matching lines...) Expand 10 before | Expand all | Expand 10 after
732 Register value_even, 732 Register value_even,
733 Register value_odd); 733 Register value_odd);
734 734
735 // Stores a Smi value into a heap object field that always contains a Smi. 735 // Stores a Smi value into a heap object field that always contains a Smi.
736 void StoreIntoSmiField(const Address& dest, Register value); 736 void StoreIntoSmiField(const Address& dest, Register value);
737 737
738 void LoadClassId(Register result, Register object, Condition cond = AL); 738 void LoadClassId(Register result, Register object, Condition cond = AL);
739 void LoadClassById(Register result, Register class_id); 739 void LoadClassById(Register result, Register class_id);
740 void LoadClass(Register result, Register object, Register scratch); 740 void LoadClass(Register result, Register object, Register scratch);
741 void CompareClassId(Register object, intptr_t class_id, Register scratch); 741 void CompareClassId(Register object, intptr_t class_id, Register scratch);
742 void LoadClassIdMayBeSmi(Register result, Register object);
742 void LoadTaggedClassIdMayBeSmi(Register result, Register object); 743 void LoadTaggedClassIdMayBeSmi(Register result, Register object);
743 744
744 void ComputeRange(Register result, 745 void ComputeRange(Register result,
745 Register value, 746 Register value,
746 Register scratch, 747 Register scratch,
747 Label* miss); 748 Label* miss);
748 749
749 void UpdateRangeFeedback(Register value, 750 void UpdateRangeFeedback(Register value,
750 intptr_t idx, 751 intptr_t idx,
751 Register ic_data, 752 Register ic_data,
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
1128 Register new_value, 1129 Register new_value,
1129 FieldContent old_content); 1130 FieldContent old_content);
1130 1131
1131 DISALLOW_ALLOCATION(); 1132 DISALLOW_ALLOCATION();
1132 DISALLOW_COPY_AND_ASSIGN(Assembler); 1133 DISALLOW_COPY_AND_ASSIGN(Assembler);
1133 }; 1134 };
1134 1135
1135 } // namespace dart 1136 } // namespace dart
1136 1137
1137 #endif // VM_ASSEMBLER_ARM_H_ 1138 #endif // VM_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/assembler_arm.cc » ('j') | tests/language/runtime_type_test.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698