| 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 736 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 747 // Call runtime function. Reserves shadow space on the stack before calling | 747 // Call runtime function. Reserves shadow space on the stack before calling |
| 748 // if platform ABI requires that. Does not restore RSP after the call itself. | 748 // if platform ABI requires that. Does not restore RSP after the call itself. |
| 749 void CallCFunction(const ExternalLabel* label); | 749 void CallCFunction(const ExternalLabel* label); |
| 750 void CallCFunction(Register reg); | 750 void CallCFunction(Register reg); |
| 751 | 751 |
| 752 /* | 752 /* |
| 753 * Loading and comparing classes of objects. | 753 * Loading and comparing classes of objects. |
| 754 */ | 754 */ |
| 755 void LoadClassId(Register result, Register object); | 755 void LoadClassId(Register result, Register object); |
| 756 | 756 |
| 757 void LoadClassById(Register result, Register class_id); | 757 void LoadClassById(Register result, Register class_id, Register pp); |
| 758 | 758 |
| 759 void LoadClass(Register result, Register object); | 759 void LoadClass(Register result, Register object, Register pp); |
| 760 | 760 |
| 761 void CompareClassId(Register object, intptr_t class_id); | 761 void CompareClassId(Register object, intptr_t class_id); |
| 762 | 762 |
| 763 void LoadTaggedClassIdMayBeSmi(Register result, Register object); | 763 void LoadTaggedClassIdMayBeSmi(Register result, Register object); |
| 764 | 764 |
| 765 // CheckClassIs fused with optimistic SmiUntag. | 765 // CheckClassIs fused with optimistic SmiUntag. |
| 766 // Value in the register object is untagged optimistically. | 766 // Value in the register object is untagged optimistically. |
| 767 void SmiUntagOrCheckClass(Register object, intptr_t class_id, Label* smi); | 767 void SmiUntagOrCheckClass(Register object, intptr_t class_id, Label* smi); |
| 768 | 768 |
| 769 /* | 769 /* |
| (...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1128 } | 1128 } |
| 1129 | 1129 |
| 1130 | 1130 |
| 1131 inline void Assembler::EmitOperandSizeOverride() { | 1131 inline void Assembler::EmitOperandSizeOverride() { |
| 1132 EmitUint8(0x66); | 1132 EmitUint8(0x66); |
| 1133 } | 1133 } |
| 1134 | 1134 |
| 1135 } // namespace dart | 1135 } // namespace dart |
| 1136 | 1136 |
| 1137 #endif // VM_ASSEMBLER_X64_H_ | 1137 #endif // VM_ASSEMBLER_X64_H_ |
| OLD | NEW |