| 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 719 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 730 * Loading and comparing classes of objects. | 730 * Loading and comparing classes of objects. |
| 731 */ | 731 */ |
| 732 void LoadClassId(Register result, Register object); | 732 void LoadClassId(Register result, Register object); |
| 733 | 733 |
| 734 void LoadClassById(Register result, Register class_id); | 734 void LoadClassById(Register result, Register class_id); |
| 735 | 735 |
| 736 void LoadClass(Register result, Register object); | 736 void LoadClass(Register result, Register object); |
| 737 | 737 |
| 738 void CompareClassId(Register object, intptr_t class_id); | 738 void CompareClassId(Register object, intptr_t class_id); |
| 739 | 739 |
| 740 void LoadTaggedClassIdMayBeSmi(Register result, Register object); |
| 741 |
| 740 /* | 742 /* |
| 741 * Misc. functionality. | 743 * Misc. functionality. |
| 742 */ | 744 */ |
| 743 void SmiTag(Register reg) { | 745 void SmiTag(Register reg) { |
| 744 addq(reg, reg); | 746 addq(reg, reg); |
| 745 } | 747 } |
| 746 | 748 |
| 747 void SmiUntag(Register reg) { | 749 void SmiUntag(Register reg) { |
| 748 sarq(reg, Immediate(kSmiTagSize)); | 750 sarq(reg, Immediate(kSmiTagSize)); |
| 749 } | 751 } |
| (...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1065 } | 1067 } |
| 1066 | 1068 |
| 1067 | 1069 |
| 1068 inline void Assembler::EmitOperandSizeOverride() { | 1070 inline void Assembler::EmitOperandSizeOverride() { |
| 1069 EmitUint8(0x66); | 1071 EmitUint8(0x66); |
| 1070 } | 1072 } |
| 1071 | 1073 |
| 1072 } // namespace dart | 1074 } // namespace dart |
| 1073 | 1075 |
| 1074 #endif // VM_ASSEMBLER_X64_H_ | 1076 #endif // VM_ASSEMBLER_X64_H_ |
| OLD | NEW |