18 * |
18 * |
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 */ |
|
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. |
23 */ |
29 */ |
24 |
30 |
25 #ifndef SHARE_VM_RUNTIME_JAVACALLS_HPP |
31 #ifndef SHARE_VM_RUNTIME_JAVACALLS_HPP |
26 #define SHARE_VM_RUNTIME_JAVACALLS_HPP |
32 #define SHARE_VM_RUNTIME_JAVACALLS_HPP |
27 |
33 |
44 # include "jniTypes_arm.hpp" |
50 # include "jniTypes_arm.hpp" |
45 #endif |
51 #endif |
46 #ifdef TARGET_ARCH_ppc |
52 #ifdef TARGET_ARCH_ppc |
47 # include "jniTypes_ppc.hpp" |
53 # include "jniTypes_ppc.hpp" |
48 #endif |
54 #endif |
|
55 #ifdef TARGET_ARCH_mips |
|
56 # include "jniTypes_mips.hpp" |
|
57 #endif |
49 |
58 |
50 // A JavaCallWrapper is constructed before each JavaCall and destructed after the call. |
59 // A JavaCallWrapper is constructed before each JavaCall and destructed after the call. |
51 // Its purpose is to allocate/deallocate a new handle block and to save/restore the last |
60 // Its purpose is to allocate/deallocate a new handle block and to save/restore the last |
52 // Java fp/sp. A pointer to the JavaCallWrapper is stored on the stack. |
61 // Java fp/sp. A pointer to the JavaCallWrapper is stored on the stack. |
53 |
62 |