1.1 --- a/src/share/vm/utilities/globalDefinitions_visCPP.hpp Thu May 22 11:36:23 2014 -0400 1.2 +++ b/src/share/vm/utilities/globalDefinitions_visCPP.hpp Tue Jul 29 13:54:16 2014 +0200 1.3 @@ -116,16 +116,6 @@ 1.4 typedef unsigned int juint; 1.5 typedef unsigned __int64 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 //---------------------------------------------------------------------------------------------------- 1.19 // Non-standard stdlib-like stuff: