-
weiliang.lin@intel.com authored
The test mjsunit/regress/regress-sqrt compares the result of Math.sqrt function when using full-compiler and crankshaft compiler seperately. But according to glibc bug fixing(https://sourceware.org/bugzilla/show_bug.cgi?id=14032). The glibc implementation of std::sqrt() (It is invoked in the generated code when full-compiler is used.) will change since glibc 2.19. In order to keep consistence of Math.sqrt translation in crankshaft compiler and the pass of mjsunit/regress/regress-sqrt. we translate the Math.sqrt func by calling the runtime function. BUG= R=weiliang.lin@intel.com Review URL: https://codereview.chromium.org/606403002 Patch from Chunyang Dai <chunyang.dai@intel.com>. git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24271 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
6a7cc6cc