Chromium Code Reviews

Unified Diff: src/globals.h

Issue 866843003: Contribution of PowerPC port (continuation of 422063005) - AIX Common1 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: src/globals.h
diff --git a/src/globals.h b/src/globals.h
index 7180b811499dbd3355d92f7d510a5ea076f61a5d..210428435bd7f7eeb8ddb07bfe43bc79d7e563e5 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -38,6 +38,10 @@
#else
#define V8_TURBOFAN_TARGET 0
#endif
+#if V8_OS_AIX
+#undef V8_INFINITY
Sven Panne 2015/01/27 11:47:06 No #undef, please, move this up to the place where
michael_dawson 2015/01/29 00:08:29 Will do
+#define V8_INFINITY (__builtin_inff())
+#endif
namespace v8 {

Powered by Google App Engine