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 |
24 |
|
25 /* |
|
26 * This file has been modified by Loongson Technology in 2015. These |
|
27 * modifications are Copyright (c) 2015 Loongson Technology, and are made |
|
28 * available on the same license terms set forth above. |
|
29 */ |
|
30 |
25 #ifndef SHARE_VM_RUNTIME_JAVAFRAMEANCHOR_HPP |
31 #ifndef SHARE_VM_RUNTIME_JAVAFRAMEANCHOR_HPP |
26 #define SHARE_VM_RUNTIME_JAVAFRAMEANCHOR_HPP |
32 #define SHARE_VM_RUNTIME_JAVAFRAMEANCHOR_HPP |
27 |
33 |
28 #include "utilities/globalDefinitions.hpp" |
34 #include "utilities/globalDefinitions.hpp" |
29 #ifdef TARGET_OS_ARCH_linux_x86 |
35 #ifdef TARGET_OS_ARCH_linux_x86 |
30 # include "orderAccess_linux_x86.inline.hpp" |
36 # include "orderAccess_linux_x86.inline.hpp" |
31 #endif |
37 #endif |
32 #ifdef TARGET_OS_ARCH_linux_sparc |
38 #ifdef TARGET_OS_ARCH_linux_sparc |
33 # include "orderAccess_linux_sparc.inline.hpp" |
39 # include "orderAccess_linux_sparc.inline.hpp" |
|
40 #endif |
|
41 #ifdef TARGET_OS_ARCH_linux_mips |
|
42 # include "orderAccess_linux_mips.inline.hpp" |
34 #endif |
43 #endif |
35 #ifdef TARGET_OS_ARCH_linux_zero |
44 #ifdef TARGET_OS_ARCH_linux_zero |
36 # include "orderAccess_linux_zero.inline.hpp" |
45 # include "orderAccess_linux_zero.inline.hpp" |
37 #endif |
46 #endif |
38 #ifdef TARGET_OS_ARCH_solaris_x86 |
47 #ifdef TARGET_OS_ARCH_solaris_x86 |
110 void zap(void) { _last_Java_sp = NULL; } |
119 void zap(void) { _last_Java_sp = NULL; } |
111 |
120 |
112 #ifdef TARGET_ARCH_x86 |
121 #ifdef TARGET_ARCH_x86 |
113 # include "javaFrameAnchor_x86.hpp" |
122 # include "javaFrameAnchor_x86.hpp" |
114 #endif |
123 #endif |
|
124 #ifdef TARGET_ARCH_mips |
|
125 # include "javaFrameAnchor_mips.hpp" |
|
126 #endif |
115 #ifdef TARGET_ARCH_sparc |
127 #ifdef TARGET_ARCH_sparc |
116 # include "javaFrameAnchor_sparc.hpp" |
128 # include "javaFrameAnchor_sparc.hpp" |
117 #endif |
129 #endif |
118 #ifdef TARGET_ARCH_zero |
130 #ifdef TARGET_ARCH_zero |
119 # include "javaFrameAnchor_zero.hpp" |
131 # include "javaFrameAnchor_zero.hpp" |