Index: src/globals.h |
diff --git a/src/globals.h b/src/globals.h |
index 742daefa94f7a284d09956755f6481543f9cf8dd..c76dc853090e838a226c8d0909055db067235bca 100644 |
--- a/src/globals.h |
+++ b/src/globals.h |
@@ -168,6 +168,8 @@ const size_t kMaximalCodeRangeSize = 0 * MB; |
#endif |
#endif |
+STATIC_ASSERT(kPointerSize == (1 << kPointerSizeLog2)); |
+ |
const int kBitsPerByte = 8; |
const int kBitsPerByteLog2 = 3; |
const int kBitsPerPointer = kPointerSize * kBitsPerByte; |