Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 2da519f5c9b2b7fdddc79b7fc2fc0d5836d73017..86169cab1eda66a0b9f49a3ab4fa640f48f7d40b 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -1959,6 +1959,8 @@ int JSObject::GetHeaderSize(InstanceType type) { |
// field operations considerably on average. |
if (type == JS_OBJECT_TYPE) return JSObject::kHeaderSize; |
switch (type) { |
+ case JS_SPECIAL_API_OBJECT_TYPE: |
+ return JSObject::kHeaderSize; |
case JS_GENERATOR_OBJECT_TYPE: |
return JSGeneratorObject::kSize; |
case JS_MODULE_TYPE: |