OLD | NEW |
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_X64_H_ | 5 #ifndef VM_ASSEMBLER_X64_H_ |
6 #define VM_ASSEMBLER_X64_H_ | 6 #define VM_ASSEMBLER_X64_H_ |
7 | 7 |
8 #ifndef VM_ASSEMBLER_H_ | 8 #ifndef VM_ASSEMBLER_H_ |
9 #error Do not include assembler_x64.h directly; use assembler.h instead. | 9 #error Do not include assembler_x64.h directly; use assembler.h instead. |
10 #endif | 10 #endif |
(...skipping 841 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
852 * Loading and comparing classes of objects. | 852 * Loading and comparing classes of objects. |
853 */ | 853 */ |
854 void LoadClassId(Register result, Register object); | 854 void LoadClassId(Register result, Register object); |
855 | 855 |
856 void LoadClassById(Register result, Register class_id, Register pp); | 856 void LoadClassById(Register result, Register class_id, Register pp); |
857 | 857 |
858 void LoadClass(Register result, Register object, Register pp); | 858 void LoadClass(Register result, Register object, Register pp); |
859 | 859 |
860 void CompareClassId(Register object, intptr_t class_id); | 860 void CompareClassId(Register object, intptr_t class_id); |
861 | 861 |
| 862 void LoadClassIdMayBeSmi(Register result, Register object); |
862 void LoadTaggedClassIdMayBeSmi(Register result, Register object); | 863 void LoadTaggedClassIdMayBeSmi(Register result, Register object); |
863 | 864 |
864 // CheckClassIs fused with optimistic SmiUntag. | 865 // CheckClassIs fused with optimistic SmiUntag. |
865 // Value in the register object is untagged optimistically. | 866 // Value in the register object is untagged optimistically. |
866 void SmiUntagOrCheckClass(Register object, intptr_t class_id, Label* smi); | 867 void SmiUntagOrCheckClass(Register object, intptr_t class_id, Label* smi); |
867 | 868 |
868 /* | 869 /* |
869 * Misc. functionality. | 870 * Misc. functionality. |
870 */ | 871 */ |
871 void SmiTag(Register reg) { | 872 void SmiTag(Register reg) { |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1199 } | 1200 } |
1200 | 1201 |
1201 | 1202 |
1202 inline void Assembler::EmitOperandSizeOverride() { | 1203 inline void Assembler::EmitOperandSizeOverride() { |
1203 EmitUint8(0x66); | 1204 EmitUint8(0x66); |
1204 } | 1205 } |
1205 | 1206 |
1206 } // namespace dart | 1207 } // namespace dart |
1207 | 1208 |
1208 #endif // VM_ASSEMBLER_X64_H_ | 1209 #endif // VM_ASSEMBLER_X64_H_ |
OLD | NEW |