| 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 829 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 840 void Unimplemented(const char* message); | 840 void Unimplemented(const char* message); |
| 841 void Untested(const char* message); | 841 void Untested(const char* message); |
| 842 void Unreachable(const char* message); | 842 void Unreachable(const char* message); |
| 843 | 843 |
| 844 static void InitializeMemoryWithBreakpoints(uword data, intptr_t length); | 844 static void InitializeMemoryWithBreakpoints(uword data, intptr_t length); |
| 845 | 845 |
| 846 static const char* RegisterName(Register reg); | 846 static const char* RegisterName(Register reg); |
| 847 | 847 |
| 848 static const char* FpuRegisterName(FpuRegister reg); | 848 static const char* FpuRegisterName(FpuRegister reg); |
| 849 | 849 |
| 850 // On some other platforms, we draw a distinction between safe and unsafe | |
| 851 // smis. | |
| 852 static bool IsSafe(const Object& object) { return true; } | |
| 853 static bool IsSafeSmi(const Object& object) { return true; } | |
| 854 | |
| 855 private: | 850 private: |
| 856 AssemblerBuffer buffer_; | 851 AssemblerBuffer buffer_; |
| 857 | 852 |
| 858 // Objects and jump targets. | 853 // Objects and jump targets. |
| 859 GrowableObjectArray& object_pool_; | 854 GrowableObjectArray& object_pool_; |
| 860 | 855 |
| 861 // Patchability of pool entries. | 856 // Patchability of pool entries. |
| 862 GrowableArray<Patchability> patchable_pool_entries_; | 857 GrowableArray<Patchability> patchable_pool_entries_; |
| 863 | 858 |
| 864 // Pair type parameter for DirectChainedHashMap. | 859 // Pair type parameter for DirectChainedHashMap. |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1047 } | 1042 } |
| 1048 | 1043 |
| 1049 | 1044 |
| 1050 inline void Assembler::EmitOperandSizeOverride() { | 1045 inline void Assembler::EmitOperandSizeOverride() { |
| 1051 EmitUint8(0x66); | 1046 EmitUint8(0x66); |
| 1052 } | 1047 } |
| 1053 | 1048 |
| 1054 } // namespace dart | 1049 } // namespace dart |
| 1055 | 1050 |
| 1056 #endif // VM_ASSEMBLER_X64_H_ | 1051 #endif // VM_ASSEMBLER_X64_H_ |
| OLD | NEW |