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 1002 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1013 void TryAllocateArray(intptr_t cid, | 1013 void TryAllocateArray(intptr_t cid, |
1014 intptr_t instance_size, | 1014 intptr_t instance_size, |
1015 Label* failure, | 1015 Label* failure, |
1016 bool near_jump, | 1016 bool near_jump, |
1017 Register instance, | 1017 Register instance, |
1018 Register end_address, | 1018 Register end_address, |
1019 Register temp); | 1019 Register temp); |
1020 | 1020 |
1021 // Debugging and bringup support. | 1021 // Debugging and bringup support. |
1022 void Stop(const char* message, bool fixed_length_encoding = false); | 1022 void Stop(const char* message, bool fixed_length_encoding = false); |
1023 void Unimplemented(const char* message); | |
1024 void Untested(const char* message); | |
1025 void Unreachable(const char* message); | |
1026 | 1023 |
1027 static void InitializeMemoryWithBreakpoints(uword data, intptr_t length); | 1024 static void InitializeMemoryWithBreakpoints(uword data, intptr_t length); |
1028 | 1025 |
1029 static const char* RegisterName(Register reg); | 1026 static const char* RegisterName(Register reg); |
1030 | 1027 |
1031 static const char* FpuRegisterName(FpuRegister reg); | 1028 static const char* FpuRegisterName(FpuRegister reg); |
1032 | 1029 |
1033 static Address ElementAddressForIntIndex(bool is_external, | 1030 static Address ElementAddressForIntIndex(bool is_external, |
1034 intptr_t cid, | 1031 intptr_t cid, |
1035 intptr_t index_scale, | 1032 intptr_t index_scale, |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1207 } | 1204 } |
1208 | 1205 |
1209 | 1206 |
1210 inline void Assembler::EmitOperandSizeOverride() { | 1207 inline void Assembler::EmitOperandSizeOverride() { |
1211 EmitUint8(0x66); | 1208 EmitUint8(0x66); |
1212 } | 1209 } |
1213 | 1210 |
1214 } // namespace dart | 1211 } // namespace dart |
1215 | 1212 |
1216 #endif // VM_ASSEMBLER_X64_H_ | 1213 #endif // VM_ASSEMBLER_X64_H_ |
OLD | NEW |