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_PRIMS_METHODHANDLES_HPP |
31 #ifndef SHARE_VM_PRIMS_METHODHANDLES_HPP |
26 #define SHARE_VM_PRIMS_METHODHANDLES_HPP |
32 #define SHARE_VM_PRIMS_METHODHANDLES_HPP |
27 |
33 |
192 # include "methodHandles_arm.hpp" |
198 # include "methodHandles_arm.hpp" |
193 #endif |
199 #endif |
194 #ifdef TARGET_ARCH_ppc |
200 #ifdef TARGET_ARCH_ppc |
195 # include "methodHandles_ppc.hpp" |
201 # include "methodHandles_ppc.hpp" |
196 #endif |
202 #endif |
|
203 #ifdef TARGET_ARCH_mips |
|
204 # include "methodHandles_mips.hpp" |
|
205 #endif |
|
206 |
197 |
207 |
198 // Tracing |
208 // Tracing |
199 static void trace_method_handle(MacroAssembler* _masm, const char* adaptername) PRODUCT_RETURN; |
209 static void trace_method_handle(MacroAssembler* _masm, const char* adaptername) PRODUCT_RETURN; |
200 static void trace_method_handle_interpreter_entry(MacroAssembler* _masm, vmIntrinsics::ID iid) { |
210 static void trace_method_handle_interpreter_entry(MacroAssembler* _masm, vmIntrinsics::ID iid) { |
201 if (TraceMethodHandles) { |
211 if (TraceMethodHandles) { |