Index: src/elements-kind.cc |
diff --git a/src/elements-kind.cc b/src/elements-kind.cc |
index cd946e8028daca7638fb30b764cd39d2b80201bf..845286decce583259c654a50fd18f684e437831f 100644 |
--- a/src/elements-kind.cc |
+++ b/src/elements-kind.cc |
@@ -53,9 +53,8 @@ int ElementsKindToShiftSize(ElementsKind elements_kind) { |
int GetDefaultHeaderSizeForElementsKind(ElementsKind elements_kind) { |
- STATIC_ASSERT(FixedArray::kHeaderSize == FixedDoubleArray::kHeaderSize); |
return IsExternalArrayElementsKind(elements_kind) |
- ? 0 : (FixedArray::kHeaderSize - kHeapObjectTag); |
+ ? 0 : (FixedArray::kHeaderSize - kSmiTagSize); |
} |