equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2010, 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. |
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
20 * or visit www.oracle.com if you need additional information or have any |
20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. |
21 * questions. |
22 * |
22 * |
23 */ |
23 */ |
|
24 |
|
25 #ifndef SHARE_VM_ASM_ASSEMBLER_HPP |
|
26 #define SHARE_VM_ASM_ASSEMBLER_HPP |
|
27 |
|
28 #include "code/oopRecorder.hpp" |
|
29 #include "code/relocInfo.hpp" |
|
30 #include "memory/allocation.hpp" |
|
31 #include "utilities/debug.hpp" |
|
32 #include "utilities/growableArray.hpp" |
|
33 #include "utilities/top.hpp" |
|
34 #ifdef TARGET_ARCH_x86 |
|
35 # include "register_x86.hpp" |
|
36 # include "vm_version_x86.hpp" |
|
37 #endif |
|
38 #ifdef TARGET_ARCH_sparc |
|
39 # include "register_sparc.hpp" |
|
40 # include "vm_version_sparc.hpp" |
|
41 #endif |
|
42 #ifdef TARGET_ARCH_zero |
|
43 # include "register_zero.hpp" |
|
44 # include "vm_version_zero.hpp" |
|
45 #endif |
24 |
46 |
25 // This file contains platform-independent assembler declarations. |
47 // This file contains platform-independent assembler declarations. |
26 |
48 |
27 class CodeBuffer; |
49 class CodeBuffer; |
28 class MacroAssembler; |
50 class MacroAssembler; |
346 */ |
368 */ |
347 static void pd_print_patched_instruction(address branch); |
369 static void pd_print_patched_instruction(address branch); |
348 #endif // PRODUCT |
370 #endif // PRODUCT |
349 }; |
371 }; |
350 |
372 |
351 #include "incls/_assembler_pd.hpp.incl" |
373 #ifdef TARGET_ARCH_x86 |
|
374 # include "assembler_x86.hpp" |
|
375 #endif |
|
376 #ifdef TARGET_ARCH_sparc |
|
377 # include "assembler_sparc.hpp" |
|
378 #endif |
|
379 #ifdef TARGET_ARCH_zero |
|
380 # include "assembler_zero.hpp" |
|
381 #endif |
|
382 |
|
383 |
|
384 #endif // SHARE_VM_ASM_ASSEMBLER_HPP |