681 methodHandle original_m, 682 KlassHandle receiver_limit, 683 int decode_flags, 684 TRAPS); 685 686 // Fill in the fields of an AdapterMethodHandle mh. (MH.type must be pre-filled.) 687 static void init_AdapterMethodHandle(Handle mh, Handle target, int argnum, TRAPS); 688 static void ensure_vmlayout_field(Handle target, TRAPS); 689 690 #ifdef ASSERT 691 static bool spot_check_entry_names(); 692 #endif 693 694 private: 695 static methodHandle dispatch_decoded_method(methodHandle m, 696 KlassHandle receiver_limit, 697 int decode_flags, 698 KlassHandle receiver_klass, 699 TRAPS); 700 701 static bool same_basic_type_for_arguments(BasicType src, BasicType dst, 702 bool raw = false, 703 bool for_return = false); 704 static bool same_basic_type_for_returns(BasicType src, BasicType dst, bool raw = false) { 705 return same_basic_type_for_arguments(src, dst, raw, true); 706 } 707 708 static Symbol* convert_to_signature(oop type_str, bool polymorphic, TRAPS); 709 710 #ifdef TARGET_ARCH_x86 711 # include "methodHandles_x86.hpp" 712 #endif 713 #ifdef TARGET_ARCH_sparc 714 #define TARGET_ARCH_NYI_6939861 1 //FIXME 715 //# include "methodHandles_sparc.hpp" 716 #endif 717 #ifdef TARGET_ARCH_zero 718 #define TARGET_ARCH_NYI_6939861 1 //FIXME 719 //# include "methodHandles_zero.hpp" 720 #endif | 681 methodHandle original_m, 682 KlassHandle receiver_limit, 683 int decode_flags, 684 TRAPS); 685 686 // Fill in the fields of an AdapterMethodHandle mh. (MH.type must be pre-filled.) 687 static void init_AdapterMethodHandle(Handle mh, Handle target, int argnum, TRAPS); 688 static void ensure_vmlayout_field(Handle target, TRAPS); 689 690 #ifdef ASSERT 691 static bool spot_check_entry_names(); 692 #endif 693 694 private: 695 static methodHandle dispatch_decoded_method(methodHandle m, 696 KlassHandle receiver_limit, 697 int decode_flags, 698 KlassHandle receiver_klass, 699 TRAPS); 700 701 public: 702 static bool is_float_fixed_reinterpretation_cast(BasicType src, BasicType dst); 703 static bool same_basic_type_for_arguments(BasicType src, BasicType dst, 704 bool raw = false, 705 bool for_return = false); 706 static bool same_basic_type_for_returns(BasicType src, BasicType dst, bool raw = false) { 707 return same_basic_type_for_arguments(src, dst, raw, true); 708 } 709 710 static Symbol* convert_to_signature(oop type_str, bool polymorphic, TRAPS); 711 712 #ifdef TARGET_ARCH_x86 713 # include "methodHandles_x86.hpp" 714 #endif 715 #ifdef TARGET_ARCH_sparc 716 #define TARGET_ARCH_NYI_6939861 1 //FIXME 717 //# include "methodHandles_sparc.hpp" 718 #endif 719 #ifdef TARGET_ARCH_zero 720 #define TARGET_ARCH_NYI_6939861 1 //FIXME 721 //# include "methodHandles_zero.hpp" 722 #endif |