1.1 --- a/src/share/vm/utilities/globalDefinitions_sparcWorks.hpp Thu May 22 11:36:23 2014 -0400 1.2 +++ b/src/share/vm/utilities/globalDefinitions_sparcWorks.hpp Tue Jul 29 13:54:16 2014 +0200 1.3 @@ -183,15 +183,6 @@ 1.4 typedef unsigned int juint; 1.5 typedef unsigned long long julong; 1.6 1.7 -//---------------------------------------------------------------------------------------------------- 1.8 -// Special (possibly not-portable) casts 1.9 -// Cast floats into same-size integers and vice-versa w/o changing bit-pattern 1.10 - 1.11 -inline jint jint_cast (jfloat x) { return *(jint* )&x; } 1.12 -inline jlong jlong_cast (jdouble x) { return *(jlong* )&x; } 1.13 - 1.14 -inline jfloat jfloat_cast (jint x) { return *(jfloat* )&x; } 1.15 -inline jdouble jdouble_cast(jlong x) { return *(jdouble*)&x; } 1.16 1.17 //---------------------------------------------------------------------------------------------------- 1.18 // Constant for jlong (specifying an long long constant is C++ compiler specific)