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 698 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
709 | 709 |
710 void DoubleAbs(XmmRegister reg); | 710 void DoubleAbs(XmmRegister reg); |
711 | 711 |
712 void LockCmpxchgl(const Address& address, Register reg) { | 712 void LockCmpxchgl(const Address& address, Register reg) { |
713 lock(); | 713 lock(); |
714 cmpxchgl(address, reg); | 714 cmpxchgl(address, reg); |
715 } | 715 } |
716 | 716 |
717 void EnterFrame(intptr_t frame_space); | 717 void EnterFrame(intptr_t frame_space); |
718 void LeaveFrame(); | 718 void LeaveFrame(); |
719 void ReturnPatchable(); | |
720 void ReserveAlignedFrameSpace(intptr_t frame_space); | 719 void ReserveAlignedFrameSpace(intptr_t frame_space); |
721 | 720 |
722 // Create a frame for calling into runtime that preserves all volatile | 721 // Create a frame for calling into runtime that preserves all volatile |
723 // registers. Frame's RSP is guaranteed to be correctly aligned and | 722 // registers. Frame's RSP is guaranteed to be correctly aligned and |
724 // frame_space bytes are reserved under it. | 723 // frame_space bytes are reserved under it. |
725 void EnterCallRuntimeFrame(intptr_t frame_space); | 724 void EnterCallRuntimeFrame(intptr_t frame_space); |
726 void LeaveCallRuntimeFrame(); | 725 void LeaveCallRuntimeFrame(); |
727 | 726 |
728 | 727 |
729 void CallRuntime(const RuntimeEntry& entry, intptr_t argument_count); | 728 void CallRuntime(const RuntimeEntry& entry, intptr_t argument_count); |
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1049 } | 1048 } |
1050 | 1049 |
1051 | 1050 |
1052 inline void Assembler::EmitOperandSizeOverride() { | 1051 inline void Assembler::EmitOperandSizeOverride() { |
1053 EmitUint8(0x66); | 1052 EmitUint8(0x66); |
1054 } | 1053 } |
1055 | 1054 |
1056 } // namespace dart | 1055 } // namespace dart |
1057 | 1056 |
1058 #endif // VM_ASSEMBLER_X64_H_ | 1057 #endif // VM_ASSEMBLER_X64_H_ |
OLD | NEW |