| 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 671 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 682 void LeaveFrame(); | 682 void LeaveFrame(); |
| 683 void ReserveAlignedFrameSpace(intptr_t frame_space); | 683 void ReserveAlignedFrameSpace(intptr_t frame_space); |
| 684 | 684 |
| 685 // Create a frame for calling into runtime that preserves all volatile | 685 // Create a frame for calling into runtime that preserves all volatile |
| 686 // registers. Frame's RSP is guaranteed to be correctly aligned and | 686 // registers. Frame's RSP is guaranteed to be correctly aligned and |
| 687 // frame_space bytes are reserved under it. | 687 // frame_space bytes are reserved under it. |
| 688 void EnterCallRuntimeFrame(intptr_t frame_space); | 688 void EnterCallRuntimeFrame(intptr_t frame_space); |
| 689 void LeaveCallRuntimeFrame(); | 689 void LeaveCallRuntimeFrame(); |
| 690 | 690 |
| 691 | 691 |
| 692 void CallRuntime(const RuntimeEntry& entry); | 692 void CallRuntime(const RuntimeEntry& entry, intptr_t argument_count); |
| 693 | 693 |
| 694 /* | 694 /* |
| 695 * Loading and comparing classes of objects. | 695 * Loading and comparing classes of objects. |
| 696 */ | 696 */ |
| 697 void LoadClassId(Register result, Register object); | 697 void LoadClassId(Register result, Register object); |
| 698 | 698 |
| 699 void LoadClassById(Register result, Register class_id); | 699 void LoadClassById(Register result, Register class_id); |
| 700 | 700 |
| 701 void LoadClass(Register result, Register object); | 701 void LoadClass(Register result, Register object); |
| 702 | 702 |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 937 } | 937 } |
| 938 | 938 |
| 939 | 939 |
| 940 inline void Assembler::EmitOperandSizeOverride() { | 940 inline void Assembler::EmitOperandSizeOverride() { |
| 941 EmitUint8(0x66); | 941 EmitUint8(0x66); |
| 942 } | 942 } |
| 943 | 943 |
| 944 } // namespace dart | 944 } // namespace dart |
| 945 | 945 |
| 946 #endif // VM_ASSEMBLER_X64_H_ | 946 #endif // VM_ASSEMBLER_X64_H_ |
| OLD | NEW |