Chromium Code Reviews| Index: src/objects-inl.h |
| diff --git a/src/objects-inl.h b/src/objects-inl.h |
| index 169475791d05ff9672dfff163ba14dde0506bea5..47935d44cb30c7a5c963f6c070f7369d55c66cb9 100644 |
| --- a/src/objects-inl.h |
| +++ b/src/objects-inl.h |
| @@ -5489,6 +5489,11 @@ bool JSObject::HasFastElements() { |
| } |
| +bool JSObject::HasFastPackedElements() { |
| + return IsFastPackedElementsKind(GetElementsKind()); |
| +} |
| + |
| + |
| bool JSObject::HasDictionaryElements() { |
| return GetElementsKind() == DICTIONARY_ELEMENTS; |
| } |