Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index ddca0d616be838700b73a45c09f73480d3caaccf..f40a9cf4f0b7d8a79bea71edb9ad66b509ede810 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -1961,6 +1961,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: |