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

Unified Diff: test/cctest/test-double.cc

Issue 358363002: Move platform abstraction to base library (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: updates Created 6 years, 6 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
Index: test/cctest/test-double.cc
diff --git a/test/cctest/test-double.cc b/test/cctest/test-double.cc
index 55f0711f3c16eea5a148230194b079be46022b81..16dcb37101ef6501db6252b79c799af1ad3da2e8 100644
--- a/test/cctest/test-double.cc
+++ b/test/cctest/test-double.cc
@@ -29,9 +29,9 @@
#include "src/v8.h"
+#include "src/base/platform/platform.h"
#include "src/diy-fp.h"
#include "src/double.h"
-#include "src/platform.h"
#include "test/cctest/cctest.h"
@@ -105,7 +105,7 @@ TEST(IsDenormal) {
TEST(IsSpecial) {
CHECK(Double(V8_INFINITY).IsSpecial());
CHECK(Double(-V8_INFINITY).IsSpecial());
- CHECK(Double(OS::nan_value()).IsSpecial());
+ CHECK(Double(v8::base::OS::nan_value()).IsSpecial());
uint64_t bits = V8_2PART_UINT64_C(0xFFF12345, 00000000);
CHECK(Double(bits).IsSpecial());
// Denormals are not special:
@@ -128,7 +128,7 @@ TEST(IsSpecial) {
TEST(IsInfinite) {
CHECK(Double(V8_INFINITY).IsInfinite());
CHECK(Double(-V8_INFINITY).IsInfinite());
- CHECK(!Double(OS::nan_value()).IsInfinite());
+ CHECK(!Double(v8::base::OS::nan_value()).IsInfinite());
CHECK(!Double(0.0).IsInfinite());
CHECK(!Double(-0.0).IsInfinite());
CHECK(!Double(1.0).IsInfinite());
« src/base/macros.h ('K') | « test/cctest/test-diy-fp.cc ('k') | test/cctest/test-dtoa.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698