| OLD | NEW |
| 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino 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.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
| 4 | 4 |
| 5 #ifndef SRC_VM_ASSEMBLER_H_ | 5 #ifndef SRC_VM_ASSEMBLER_H_ |
| 6 #define SRC_VM_ASSEMBLER_H_ | 6 #define SRC_VM_ASSEMBLER_H_ |
| 7 | 7 |
| 8 #include "src/shared/globals.h" | 8 #include "src/shared/globals.h" |
| 9 | 9 |
| 10 #ifdef DARTINO32 | 10 #ifdef DARTINO32 |
| 11 | 11 |
| 12 #if defined(DARTINO_TARGET_ARM) | 12 #if defined(DARTINO_TARGET_ARM) |
| 13 #include "src/vm/assembler_arm.h" | 13 #include "src/vm/assembler_arm.h" |
| 14 #elif defined(DARTINO_TARGET_MIPS) |
| 15 #include "src/vm/assembler_mips.h" |
| 14 #else | 16 #else |
| 15 #include "src/vm/assembler_x86.h" | 17 #include "src/vm/assembler_x86.h" |
| 16 #endif | 18 #endif |
| 17 | 19 |
| 18 #else | 20 #else |
| 19 | 21 |
| 20 // TODO(ager): Add arm64 assembler as well. | 22 // TODO(ager): Add arm64 assembler as well. |
| 21 #include "src/vm/assembler_x64.h" | 23 #include "src/vm/assembler_x64.h" |
| 22 | 24 |
| 23 #endif | 25 #endif |
| 24 | 26 |
| 25 #endif // SRC_VM_ASSEMBLER_H_ | 27 #endif // SRC_VM_ASSEMBLER_H_ |
| OLD | NEW |