| 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_IA32_H_ | 5 #ifndef VM_ASSEMBLER_IA32_H_ |
| 6 #define VM_ASSEMBLER_IA32_H_ | 6 #define VM_ASSEMBLER_IA32_H_ |
| 7 | 7 |
| 8 #ifndef VM_ASSEMBLER_H_ | 8 #ifndef VM_ASSEMBLER_H_ |
| 9 #error Do not include assembler_ia32.h directly; use assembler.h instead. | 9 #error Do not include assembler_ia32.h directly; use assembler.h instead. |
| 10 #endif | 10 #endif |
| (...skipping 652 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 663 void EnterFrame(intptr_t frame_space); | 663 void EnterFrame(intptr_t frame_space); |
| 664 void LeaveFrame(); | 664 void LeaveFrame(); |
| 665 void ReserveAlignedFrameSpace(intptr_t frame_space); | 665 void ReserveAlignedFrameSpace(intptr_t frame_space); |
| 666 | 666 |
| 667 // Create a frame for calling into runtime that preserves all volatile | 667 // Create a frame for calling into runtime that preserves all volatile |
| 668 // registers. Frame's RSP is guaranteed to be correctly aligned and | 668 // registers. Frame's RSP is guaranteed to be correctly aligned and |
| 669 // frame_space bytes are reserved under it. | 669 // frame_space bytes are reserved under it. |
| 670 void EnterCallRuntimeFrame(intptr_t frame_space); | 670 void EnterCallRuntimeFrame(intptr_t frame_space); |
| 671 void LeaveCallRuntimeFrame(); | 671 void LeaveCallRuntimeFrame(); |
| 672 | 672 |
| 673 void CallRuntime(const RuntimeEntry& entry); | 673 void CallRuntime(const RuntimeEntry& entry, intptr_t argument_count); |
| 674 | 674 |
| 675 /* | 675 /* |
| 676 * Loading and comparing classes of objects. | 676 * Loading and comparing classes of objects. |
| 677 */ | 677 */ |
| 678 void LoadClassId(Register result, Register object); | 678 void LoadClassId(Register result, Register object); |
| 679 | 679 |
| 680 void LoadClassById(Register result, Register class_id); | 680 void LoadClassById(Register result, Register class_id); |
| 681 | 681 |
| 682 void LoadClass(Register result, Register object, Register scratch); | 682 void LoadClass(Register result, Register object, Register scratch); |
| 683 | 683 |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 857 } | 857 } |
| 858 | 858 |
| 859 | 859 |
| 860 inline void Assembler::EmitOperandSizeOverride() { | 860 inline void Assembler::EmitOperandSizeOverride() { |
| 861 EmitUint8(0x66); | 861 EmitUint8(0x66); |
| 862 } | 862 } |
| 863 | 863 |
| 864 } // namespace dart | 864 } // namespace dart |
| 865 | 865 |
| 866 #endif // VM_ASSEMBLER_IA32_H_ | 866 #endif // VM_ASSEMBLER_IA32_H_ |
| OLD | NEW |