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

Unified Diff: test/cctest/test-cpu.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-cpu.cc
diff --git a/test/cctest/test-cpu.cc b/test/cctest/test-cpu.cc
index 416213a2ec274c303f746bbc16c7d311ce01589e..e2261f4beba1e9cde58126d6d6389cc97b924c30 100644
--- a/test/cctest/test-cpu.cc
+++ b/test/cctest/test-cpu.cc
@@ -27,7 +27,7 @@
#include "src/v8.h"
-#include "src/cpu.h"
+#include "src/base/cpu.h"
#include "test/cctest/cctest.h"
using namespace v8::internal;
@@ -35,7 +35,7 @@ using namespace v8::internal;
TEST(FeatureImplications) {
// Test for features implied by other features.
- CPU cpu;
+ v8::base::CPU cpu;
// ia32 and x64 features
CHECK(!cpu.has_sse() || cpu.has_mmx());
@@ -51,5 +51,5 @@ TEST(FeatureImplications) {
TEST(NumberOfProcessorsOnline) {
- CHECK_GT(OS::NumberOfProcessorsOnline(), 0);
+ CHECK_GT(v8::base::OS::NumberOfProcessorsOnline(), 0);
}

Powered by Google App Engine
This is Rietveld 408576698