Chromium Code Reviews| Index: src/objects-inl.h |
| diff --git a/src/objects-inl.h b/src/objects-inl.h |
| index e1a44e746106e5aebd5b4819b08cd542c4f4ccdd..c1712491c3b2a274bc0a87b4e2651da22c824415 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: |