diff --git a/hotspot/src/cpu/sparc/vm/globalDefinitions_sparc.hpp b/hotspot/src/cpu/sparc/vm/globalDefinitions_sparc.hpp index ddda08068bd..ba6d99cd8ea 100644 --- a/hotspot/src/cpu/sparc/vm/globalDefinitions_sparc.hpp +++ b/hotspot/src/cpu/sparc/vm/globalDefinitions_sparc.hpp @@ -32,7 +32,7 @@ const int StackAlignmentInBytes = (2*wordSize); // Indicates whether the C calling conventions require that // 32-bit integer argument values are extended to 64 bits. -const bool CCallingConventionRequiresIntsAsLongs = false; +const bool CCallingConventionRequiresIntsAsLongs = true; #define SUPPORTS_NATIVE_CX8 diff --git a/hotspot/src/share/vm/runtime/sharedRuntime.hpp b/hotspot/src/share/vm/runtime/sharedRuntime.hpp index eb9797f26f5..02824bb485d 100644 --- a/hotspot/src/share/vm/runtime/sharedRuntime.hpp +++ b/hotspot/src/share/vm/runtime/sharedRuntime.hpp @@ -388,16 +388,6 @@ class SharedRuntime: AllStatic { static int c_calling_convention(const BasicType *sig_bt, VMRegPair *regs, VMRegPair *regs2, int total_args_passed); - // Compute the new number of arguments in the signature if 32 bit ints - // must be converted to longs. Needed if CCallingConventionRequiresIntsAsLongs - // is true. - static int convert_ints_to_longints_argcnt(int in_args_count, BasicType* in_sig_bt); - // Adapt a method's signature if it contains 32 bit integers that must - // be converted to longs. Needed if CCallingConventionRequiresIntsAsLongs - // is true. - static void convert_ints_to_longints(int i2l_argcnt, int& in_args_count, - BasicType*& in_sig_bt, VMRegPair*& in_regs); - static size_t trampoline_size(); static void generate_trampoline(MacroAssembler *masm, address destination);