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

Unified Diff: src/base/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: src/base/cpu.cc
diff --git a/src/cpu.cc b/src/base/cpu.cc
similarity index 99%
rename from src/cpu.cc
rename to src/base/cpu.cc
index 6b04e20ed85c28d982771fc7125831f6ca61a3b6..dc26dd737bb27a726cf009361bbb2904f8770576 100644
--- a/src/cpu.cc
+++ b/src/base/cpu.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "src/cpu.h"
+#include "src/base/cpu.h"
#if V8_LIBC_MSVCRT
#include <intrin.h> // __cpuid()
@@ -21,13 +21,13 @@
#include <string.h>
#include <algorithm>
-#include "src/checks.h"
+#include "src/base/logging.h"
#if V8_OS_WIN
#include "src/base/win32-headers.h" // NOLINT
#endif
namespace v8 {
-namespace internal {
+namespace base {
#if V8_HOST_ARCH_IA32 || V8_HOST_ARCH_X64
@@ -495,4 +495,4 @@ CPU::CPU() : stepping_(0),
#endif
}
-} } // namespace v8::internal
+} } // namespace v8::base

Powered by Google App Engine
This is Rietveld 408576698