| Index: src/objects-inl.h
|
| ===================================================================
|
| --- src/objects-inl.h (revision 3935)
|
| +++ src/objects-inl.h (working copy)
|
| @@ -2768,6 +2768,13 @@
|
| }
|
|
|
|
|
| +bool JSObject::AllowsSetElementsLength() {
|
| + bool result = elements()->IsFixedArray();
|
| + ASSERT(result == (!HasPixelElements() && !HasExternalArrayElements()));
|
| + return result;
|
| +}
|
| +
|
| +
|
| StringDictionary* JSObject::property_dictionary() {
|
| ASSERT(!HasFastProperties());
|
| return StringDictionary::cast(properties());
|
|
|