| 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_H_ | 5 #ifndef VM_ASSEMBLER_H_ | 
| 6 #define VM_ASSEMBLER_H_ | 6 #define VM_ASSEMBLER_H_ | 
| 7 | 7 | 
| 8 #include "platform/assert.h" | 8 #include "platform/assert.h" | 
| 9 #include "vm/allocation.h" | 9 #include "vm/allocation.h" | 
| 10 #include "vm/globals.h" | 10 #include "vm/globals.h" | 
| 11 #include "vm/growable_array.h" | 11 #include "vm/growable_array.h" | 
| 12 #include "vm/object.h" | 12 #include "vm/object.h" | 
| 13 | 13 | 
| 14 namespace dart { | 14 namespace dart { | 
| 15 | 15 | 
| 16 #if defined(TARGET_ARCH_ARM) || defined(TARGET_ARCH_MIPS) | 16 #if defined(TARGET_ARCH_ARM) ||                                                \ | 
|  | 17     defined(TARGET_ARCH_ARM64) ||                                              \ | 
|  | 18     defined(TARGET_ARCH_MIPS) | 
| 17 DECLARE_FLAG(bool, use_far_branches); | 19 DECLARE_FLAG(bool, use_far_branches); | 
| 18 #endif | 20 #endif | 
| 19 | 21 | 
| 20 // Forward declarations. | 22 // Forward declarations. | 
| 21 class Assembler; | 23 class Assembler; | 
| 22 class AssemblerFixup; | 24 class AssemblerFixup; | 
| 23 class AssemblerBuffer; | 25 class AssemblerBuffer; | 
| 24 class MemoryRegion; | 26 class MemoryRegion; | 
| 25 | 27 | 
| 26 | 28 | 
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 210 | 212 | 
| 211 }  // namespace dart | 213 }  // namespace dart | 
| 212 | 214 | 
| 213 | 215 | 
| 214 #if defined(TARGET_ARCH_IA32) | 216 #if defined(TARGET_ARCH_IA32) | 
| 215 #include "vm/assembler_ia32.h" | 217 #include "vm/assembler_ia32.h" | 
| 216 #elif defined(TARGET_ARCH_X64) | 218 #elif defined(TARGET_ARCH_X64) | 
| 217 #include "vm/assembler_x64.h" | 219 #include "vm/assembler_x64.h" | 
| 218 #elif defined(TARGET_ARCH_ARM) | 220 #elif defined(TARGET_ARCH_ARM) | 
| 219 #include "vm/assembler_arm.h" | 221 #include "vm/assembler_arm.h" | 
|  | 222 #elif defined(TARGET_ARCH_ARM64) | 
|  | 223 #include "vm/assembler_arm64.h" | 
| 220 #elif defined(TARGET_ARCH_MIPS) | 224 #elif defined(TARGET_ARCH_MIPS) | 
| 221 #include "vm/assembler_mips.h" | 225 #include "vm/assembler_mips.h" | 
| 222 #else | 226 #else | 
| 223 #error Unknown architecture. | 227 #error Unknown architecture. | 
| 224 #endif | 228 #endif | 
| 225 | 229 | 
| 226 #endif  // VM_ASSEMBLER_H_ | 230 #endif  // VM_ASSEMBLER_H_ | 
| OLD | NEW | 
|---|