Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index fe3828e50461259f4261f0ece4438b347905bdb3..cdc249152dbe91c07d13d4c16a2ca6e09201a375 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -4063,7 +4063,7 @@ class String: public HeapObject { |
// Layout description. |
static const int kLengthOffset = HeapObject::kHeaderSize; |
- static const int kHashFieldOffset = kLengthOffset + kPointerSize; |
+ static const int kHashFieldOffset = kLengthOffset + kIntSize; |
static const int kSize = kHashFieldOffset + kIntSize; |
// Notice: kSize is not pointer-size aligned if pointers are 64-bit. |