Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(990)

Unified Diff: test/cctest/test-utils-a64.cc

Issue 169523005: make a64 compile on mavericks (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/cctest/test-utils-a64.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-utils-a64.cc
diff --git a/test/cctest/test-utils-a64.cc b/test/cctest/test-utils-a64.cc
index 5e5a2e1e4b79a07ec90a2415198a3e2b781047d1..e637a6e52b7d1138b300ab3b890c7b04cb126df1 100644
--- a/test/cctest/test-utils-a64.cc
+++ b/test/cctest/test-utils-a64.cc
@@ -62,7 +62,7 @@ bool EqualFP32(float expected, const RegisterDump*, float result) {
if (float_to_rawbits(expected) == float_to_rawbits(result)) {
return true;
} else {
- if (isnan(expected) || (expected == 0.0)) {
+ if (std::isnan(expected) || (expected == 0.0)) {
printf("Expected 0x%08" PRIx32 "\t Found 0x%08" PRIx32 "\n",
float_to_rawbits(expected), float_to_rawbits(result));
} else {
@@ -81,7 +81,7 @@ bool EqualFP64(double expected, const RegisterDump*, double result) {
return true;
}
- if (isnan(expected) || (expected == 0.0)) {
+ if (std::isnan(expected) || (expected == 0.0)) {
printf("Expected 0x%016" PRIx64 "\t Found 0x%016" PRIx64 "\n",
double_to_rawbits(expected), double_to_rawbits(result));
} else {
« no previous file with comments | « test/cctest/test-utils-a64.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698