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

Unified Diff: test/cctest/test-types.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-types.cc
diff --git a/test/cctest/test-types.cc b/test/cctest/test-types.cc
index 86887e8fa2ac09b2a31a4321fd6156b6c1060185..3aeadaa7c48c3d288277d0c847cb7c94ac32d646 100644
--- a/test/cctest/test-types.cc
+++ b/test/cctest/test-types.cc
@@ -27,9 +27,9 @@
#include <vector>
+#include "src/base/utils/random-number-generator.h"
#include "src/hydrogen-types.h"
#include "src/types.h"
-#include "src/utils/random-number-generator.h"
#include "test/cctest/cctest.h"
using namespace v8::internal;
@@ -339,7 +339,7 @@ class Types {
private:
Region* region_;
- RandomNumberGenerator rng_;
+ v8::base::RandomNumberGenerator rng_;
};
@@ -583,7 +583,7 @@ struct Tests : Rep {
CHECK(T.Constant(fac->NewNumber(-10.1))->Is(T.OtherNumber));
CHECK(T.Constant(fac->NewNumber(10e60))->Is(T.OtherNumber));
CHECK(T.Constant(fac->NewNumber(-1.0*0.0))->Is(T.MinusZero));
- CHECK(T.Constant(fac->NewNumber(OS::nan_value()))->Is(T.NaN));
+ CHECK(T.Constant(fac->NewNumber(v8::base::OS::nan_value()))->Is(T.NaN));
CHECK(T.Constant(fac->NewNumber(V8_INFINITY))->Is(T.OtherNumber));
CHECK(T.Constant(fac->NewNumber(-V8_INFINITY))->Is(T.OtherNumber));
}
« src/base/macros.h ('K') | « test/cctest/test-time.cc ('k') | test/cctest/test-utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698