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
3// BSD-style license that can be found in the LICENSE file.
4
5#ifndef RUNTIME_VM_COMPILER_ASSEMBLER_ASSEMBLER_H_
6#define RUNTIME_VM_COMPILER_ASSEMBLER_ASSEMBLER_H_
7
8#if defined(DART_PRECOMPILED_RUNTIME)
9#error "AOT runtime should not use compiler sources (including header files)"
10#endif // defined(DART_PRECOMPILED_RUNTIME)
11
12#include "platform/assert.h"
13#include "vm/allocation.h"
14#include "vm/compiler/assembler/object_pool_builder.h"
15#include "vm/compiler/runtime_api.h"
16#include "vm/globals.h"
17#include "vm/growable_array.h"
18#include "vm/hash_map.h"
19
20#if defined(TARGET_ARCH_IA32)
21#include "vm/compiler/assembler/assembler_ia32.h"
22#elif defined(TARGET_ARCH_X64)
23#include "vm/compiler/assembler/assembler_x64.h"
24#elif defined(TARGET_ARCH_ARM)
25#include "vm/compiler/assembler/assembler_arm.h"
26#elif defined(TARGET_ARCH_ARM64)
27#include "vm/compiler/assembler/assembler_arm64.h"
28#else
29#error Unknown architecture.
30#endif
31
32#endif // RUNTIME_VM_COMPILER_ASSEMBLER_ASSEMBLER_H_
33