Chromium Code Reviews| Index: src/globals.h |
| =================================================================== |
| --- src/globals.h (revision 5553) |
| +++ src/globals.h (working copy) |
| @@ -146,6 +146,9 @@ |
| const intptr_t kIntptrSignBit = 0x80000000; |
| #endif |
| +// Mask for the sign bit in a smi. |
| +const intptr_t kSmiSignMask = kIntptrSignBit; |
| + |
| const int kObjectAlignmentBits = kPointerSizeLog2; |
| const intptr_t kObjectAlignment = 1 << kObjectAlignmentBits; |
| const intptr_t kObjectAlignmentMask = kObjectAlignment - 1; |