Revision: 13334 Author: [email protected] Date: Tue Jan 8 07:32:40 2013 Log: Only enable MinGW-w64 pow() workaround if needed
The pow() workaround is no longer needed in the latest version of MinGW-w64. Contributed by [email protected] BUGS= TEST=mjsunit/math-pow,mjsunit/math-sqrt Review URL: https://chromiumcodereview.appspot.com/11748033 Patch from Jonathan Liu <[email protected]>. http://code.google.com/p/v8/source/detail?r=13334 Modified: /branches/bleeding_edge/src/assembler.cc ======================================= --- /branches/bleeding_edge/src/assembler.cc Fri Jan 4 02:56:24 2013 +++ /branches/bleeding_edge/src/assembler.cc Tue Jan 8 07:32:40 2013 @@ -1403,7 +1403,8 @@ double power_double_double(double x, double y) { -#ifdef __MINGW64_VERSION_MAJOR +#if defined(__MINGW64_VERSION_MAJOR) && \ + (!defined(__MINGW64_VERSION_RC) || __MINGW64_VERSION_RC < 1) // MinGW64 has a custom implementation for pow. This handles certain // special cases that are different. if ((x == 0.0 || isinf(x)) && isfinite(y)) { -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
