Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 413aa517faa549951a583e441f805461e6532283..9e4e7ee4d8a1352d899133e7e34c6136279eadae 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -2218,7 +2218,7 @@ int JSObject::GetHeaderSize(InstanceType type) { |
case JS_STRING_ITERATOR_TYPE: |
return JSStringIterator::kSize; |
case JS_MODULE_NAMESPACE_TYPE: |
- return JSModuleNamespace::kSize; |
+ return JSModuleNamespace::kHeaderSize; |
default: |
if (type >= FIRST_ARRAY_ITERATOR_TYPE && |
type <= LAST_ARRAY_ITERATOR_TYPE) { |