Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 5d138b813aa207ae83474cc4fef313c4182cbc86..e5cbbd5ec39bee19d6d3bf19c74b5b3cb74842bf 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -1999,6 +1999,7 @@ int JSObject::GetHeaderSize(InstanceType type) { |
// field operations considerably on average. |
if (type == JS_OBJECT_TYPE) return JSObject::kHeaderSize; |
switch (type) { |
+ case JS_API_OBJECT_TYPE: |
case JS_SPECIAL_API_OBJECT_TYPE: |
return JSObject::kHeaderSize; |
case JS_GENERATOR_OBJECT_TYPE: |