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

Unified Diff: src/globals.h

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
« src/base/macros.h ('K') | « src/gdb-jit.cc ('k') | src/hashmap.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/globals.h
diff --git a/src/globals.h b/src/globals.h
index 970a0f423902a7d44fc47671c7cbec8ab3557b29..1ac0dcfef890d39ea6f619b2b55da29db0290a7b 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -8,8 +8,8 @@
#include "include/v8stdint.h"
#include "src/base/build_config.h"
+#include "src/base/logging.h"
#include "src/base/macros.h"
-#include "src/checks.h"
// Unfortunately, the INFINITY macro cannot be used with the '-pedantic'
// warning flag and certain versions of GCC due to a bug:
@@ -26,6 +26,13 @@
#endif
namespace v8 {
+
+namespace base {
+class Mutex;
+class RecursiveMutex;
+class VirtualMemory;
+}
+
namespace internal {
// Determine whether we are running in a simulated environment.
@@ -239,10 +246,6 @@ const uint32_t kFreeListZapValue = 0xfeed1eaf;
const int kCodeZapValue = 0xbadc0de;
-// Number of bits to represent the page size for paged spaces. The value of 20
-// gives 1Mb bytes per page.
-const int kPageSizeBits = 20;
-
// On Intel architecture, cache line size is 64 bytes.
// On ARM it may be less (32 bytes), but as far this constant is
// used for aligning data, it doesn't hurt to align on a greater value.
@@ -311,9 +314,6 @@ class Variable;
class RelocInfo;
class Deserializer;
class MessageLocation;
-class VirtualMemory;
-class Mutex;
-class RecursiveMutex;
typedef bool (*WeakSlotCallback)(Object** pointer);
« src/base/macros.h ('K') | « src/gdb-jit.cc ('k') | src/hashmap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698