Mercurial > hg > graal-compiler
diff src/share/vm/runtime/sharedRuntime.cpp @ 1868:3dc12ef8735e
6989297: Integrate additional portability improvements
Reviewed-by: vladidan, dholmes
author | bobv |
---|---|
date | Thu, 07 Oct 2010 15:12:57 -0400 |
parents | d257356e35f0 |
children | 2d26b0046e0d f95d63e2154a |
line wrap: on
line diff
--- a/src/share/vm/runtime/sharedRuntime.cpp Thu Sep 30 12:05:08 2010 -0400 +++ b/src/share/vm/runtime/sharedRuntime.cpp Thu Oct 07 15:12:57 2010 -0400 @@ -302,6 +302,9 @@ return (f <= (double)0.0) ? (double)0.0 - f : f; } +#endif + +#if defined(__SOFTFP__) || defined(PPC) double SharedRuntime::dsqrt(double f) { return sqrt(f); }