1 /* |
1 /* |
2 * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
24 |
24 |
25 #ifndef SHARE_VM_ASM_ASSEMBLER_HPP |
25 #ifndef SHARE_VM_ASM_ASSEMBLER_HPP |
26 #define SHARE_VM_ASM_ASSEMBLER_HPP |
26 #define SHARE_VM_ASM_ASSEMBLER_HPP |
27 |
27 |
28 #include "asm/codeBuffer.hpp" |
28 #include "asm/codeBuffer.hpp" |
|
29 #include "asm/register.hpp" |
29 #include "code/oopRecorder.hpp" |
30 #include "code/oopRecorder.hpp" |
30 #include "code/relocInfo.hpp" |
31 #include "code/relocInfo.hpp" |
31 #include "memory/allocation.hpp" |
32 #include "memory/allocation.hpp" |
|
33 #include "runtime/vm_version.hpp" |
32 #include "utilities/debug.hpp" |
34 #include "utilities/debug.hpp" |
33 #include "utilities/growableArray.hpp" |
35 #include "utilities/growableArray.hpp" |
34 #include "utilities/top.hpp" |
36 #include "utilities/top.hpp" |
35 |
|
36 #ifdef TARGET_ARCH_x86 |
|
37 # include "register_x86.hpp" |
|
38 # include "vm_version_x86.hpp" |
|
39 #endif |
|
40 #ifdef TARGET_ARCH_sparc |
|
41 # include "register_sparc.hpp" |
|
42 # include "vm_version_sparc.hpp" |
|
43 #endif |
|
44 #ifdef TARGET_ARCH_zero |
|
45 # include "register_zero.hpp" |
|
46 # include "vm_version_zero.hpp" |
|
47 #endif |
|
48 #ifdef TARGET_ARCH_arm |
|
49 # include "register_arm.hpp" |
|
50 # include "vm_version_arm.hpp" |
|
51 #endif |
|
52 #ifdef TARGET_ARCH_ppc |
|
53 # include "register_ppc.hpp" |
|
54 # include "vm_version_ppc.hpp" |
|
55 #endif |
|
56 |
37 |
57 // This file contains platform-independent assembler declarations. |
38 // This file contains platform-independent assembler declarations. |
58 |
39 |
59 class MacroAssembler; |
40 class MacroAssembler; |
60 class AbstractAssembler; |
41 class AbstractAssembler; |