OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 |
11 | 11 |
12 #include "platform/assert.h" | 12 #include "platform/assert.h" |
| 13 #include "platform/utils.h" |
13 #include "vm/constants_x64.h" | 14 #include "vm/constants_x64.h" |
14 #include "vm/utils.h" | |
15 | 15 |
16 namespace dart { | 16 namespace dart { |
17 | 17 |
18 // Forward declarations. | 18 // Forward declarations. |
19 class RuntimeEntry; | 19 class RuntimeEntry; |
20 | 20 |
21 | 21 |
22 #if defined(TESTING) || defined(DEBUG) | 22 #if defined(TESTING) || defined(DEBUG) |
23 | 23 |
24 #if defined(TARGET_OS_WINDOWS) | 24 #if defined(TARGET_OS_WINDOWS) |
(...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
612 } | 612 } |
613 | 613 |
614 | 614 |
615 inline void Assembler::EmitOperandSizeOverride() { | 615 inline void Assembler::EmitOperandSizeOverride() { |
616 EmitUint8(0x66); | 616 EmitUint8(0x66); |
617 } | 617 } |
618 | 618 |
619 } // namespace dart | 619 } // namespace dart |
620 | 620 |
621 #endif // VM_ASSEMBLER_X64_H_ | 621 #endif // VM_ASSEMBLER_X64_H_ |
OLD | NEW |