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 892 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
903 Label* failure, | 903 Label* failure, |
904 bool near_jump, | 904 bool near_jump, |
905 Register instance_reg, | 905 Register instance_reg, |
906 Register temp_reg); | 906 Register temp_reg); |
907 | 907 |
908 void TryAllocateArray(intptr_t cid, | 908 void TryAllocateArray(intptr_t cid, |
909 intptr_t instance_size, | 909 intptr_t instance_size, |
910 Label* failure, | 910 Label* failure, |
911 bool near_jump, | 911 bool near_jump, |
912 Register instance, | 912 Register instance, |
913 Register end_address); | 913 Register end_address, |
| 914 Register temp); |
914 | 915 |
915 // Debugging and bringup support. | 916 // Debugging and bringup support. |
916 void Stop(const char* message); | 917 void Stop(const char* message); |
917 void Unimplemented(const char* message); | 918 void Unimplemented(const char* message); |
918 void Untested(const char* message); | 919 void Untested(const char* message); |
919 void Unreachable(const char* message); | 920 void Unreachable(const char* message); |
920 | 921 |
921 static void InitializeMemoryWithBreakpoints(uword data, intptr_t length); | 922 static void InitializeMemoryWithBreakpoints(uword data, intptr_t length); |
922 | 923 |
923 void Comment(const char* format, ...) PRINTF_ATTRIBUTE(2, 3); | 924 void Comment(const char* format, ...) PRINTF_ATTRIBUTE(2, 3); |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1042 } | 1043 } |
1043 | 1044 |
1044 | 1045 |
1045 inline void Assembler::EmitOperandSizeOverride() { | 1046 inline void Assembler::EmitOperandSizeOverride() { |
1046 EmitUint8(0x66); | 1047 EmitUint8(0x66); |
1047 } | 1048 } |
1048 | 1049 |
1049 } // namespace dart | 1050 } // namespace dart |
1050 | 1051 |
1051 #endif // VM_ASSEMBLER_IA32_H_ | 1052 #endif // VM_ASSEMBLER_IA32_H_ |
OLD | NEW |