| 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 720 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 731 | 731 | 
| 732   // Create a frame for calling into runtime that preserves all volatile | 732   // Create a frame for calling into runtime that preserves all volatile | 
| 733   // registers.  Frame's RSP is guaranteed to be correctly aligned and | 733   // registers.  Frame's RSP is guaranteed to be correctly aligned and | 
| 734   // frame_space bytes are reserved under it. | 734   // frame_space bytes are reserved under it. | 
| 735   void EnterCallRuntimeFrame(intptr_t frame_space); | 735   void EnterCallRuntimeFrame(intptr_t frame_space); | 
| 736   void LeaveCallRuntimeFrame(); | 736   void LeaveCallRuntimeFrame(); | 
| 737 | 737 | 
| 738   void CallRuntime(const RuntimeEntry& entry, intptr_t argument_count); | 738   void CallRuntime(const RuntimeEntry& entry, intptr_t argument_count); | 
| 739 | 739 | 
| 740   void Call(const StubEntry& stub_entry); | 740   void Call(const StubEntry& stub_entry); | 
|  | 741   void CallToRuntime(); | 
| 741 | 742 | 
| 742   void Jmp(const StubEntry& stub_entry); | 743   void Jmp(const StubEntry& stub_entry); | 
| 743   void J(Condition condition, const StubEntry& stub_entry); | 744   void J(Condition condition, const StubEntry& stub_entry); | 
| 744 | 745 | 
| 745   /* | 746   /* | 
| 746    * Loading and comparing classes of objects. | 747    * Loading and comparing classes of objects. | 
| 747    */ | 748    */ | 
| 748   void LoadClassId(Register result, Register object); | 749   void LoadClassId(Register result, Register object); | 
| 749 | 750 | 
| 750   void LoadClassById(Register result, Register class_id); | 751   void LoadClassById(Register result, Register class_id); | 
| (...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1065 } | 1066 } | 
| 1066 | 1067 | 
| 1067 | 1068 | 
| 1068 inline void Assembler::EmitOperandSizeOverride() { | 1069 inline void Assembler::EmitOperandSizeOverride() { | 
| 1069   EmitUint8(0x66); | 1070   EmitUint8(0x66); | 
| 1070 } | 1071 } | 
| 1071 | 1072 | 
| 1072 }  // namespace dart | 1073 }  // namespace dart | 
| 1073 | 1074 | 
| 1074 #endif  // VM_ASSEMBLER_IA32_H_ | 1075 #endif  // VM_ASSEMBLER_IA32_H_ | 
| OLD | NEW | 
|---|