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_STUBROUTINES_HPP |
31 #ifndef SHARE_VM_RUNTIME_STUBROUTINES_HPP |
26 #define SHARE_VM_RUNTIME_STUBROUTINES_HPP |
32 #define SHARE_VM_RUNTIME_STUBROUTINES_HPP |
27 |
33 |
28 #include "code/codeBlob.hpp" |
34 #include "code/codeBlob.hpp" |
29 #include "memory/allocation.hpp" |
35 #include "memory/allocation.hpp" |
43 #ifdef TARGET_ARCH_arm |
49 #ifdef TARGET_ARCH_arm |
44 # include "nativeInst_arm.hpp" |
50 # include "nativeInst_arm.hpp" |
45 #endif |
51 #endif |
46 #ifdef TARGET_ARCH_ppc |
52 #ifdef TARGET_ARCH_ppc |
47 # include "nativeInst_ppc.hpp" |
53 # include "nativeInst_ppc.hpp" |
|
54 #endif |
|
55 #ifdef TARGET_ARCH_mips |
|
56 # include "nativeInst_mips.hpp" |
48 #endif |
57 #endif |
49 |
58 |
50 // StubRoutines provides entry points to assembly routines used by |
59 // StubRoutines provides entry points to assembly routines used by |
51 // compiled code and the run-time system. Platform-specific entry |
60 // compiled code and the run-time system. Platform-specific entry |
52 // points are defined in the platform-specific inner class. |
61 // points are defined in the platform-specific inner class. |
109 # include "stubRoutines_sparc.hpp" |
118 # include "stubRoutines_sparc.hpp" |
110 #elif defined TARGET_ARCH_MODEL_zero |
119 #elif defined TARGET_ARCH_MODEL_zero |
111 # include "stubRoutines_zero.hpp" |
120 # include "stubRoutines_zero.hpp" |
112 #elif defined TARGET_ARCH_MODEL_ppc_64 |
121 #elif defined TARGET_ARCH_MODEL_ppc_64 |
113 # include "stubRoutines_ppc_64.hpp" |
122 # include "stubRoutines_ppc_64.hpp" |
|
123 #elif defined TARGET_ARCH_MODEL_mips_64 |
|
124 # include "stubRoutines_mips_64.hpp" |
114 #endif |
125 #endif |
115 |
126 |
116 static jint _verify_oop_count; |
127 static jint _verify_oop_count; |
117 static address _verify_oop_subroutine_entry; |
128 static address _verify_oop_subroutine_entry; |
118 |
129 |