Ignore:
Timestamp:
Nov 9, 2009, 6:19:04 PM (16 years ago)
Author:
[email protected]
Message:

Can cache prototype lookups on uncacheable dictionaries.
https://bugs.webkit.org/show_bug.cgi?id=31198

Reviewed by Gavin Barraclough.

Replace fromDictionaryTransition with flattenDictionaryObject and
flattenDictionaryStructure. This change is necessary as we need to
guarantee that our attempt to convert away from a dictionary structure
will definitely succeed, and in some cases this requires mutating the
object storage itself.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/runtime/JSObject.h

    r50254 r50704  
    211211        }
    212212
     213        void flattenDictionaryObject()
     214        {
     215            m_structure->flattenDictionaryStructure(this);
     216        }
     217
    213218    protected:
    214219        static const unsigned StructureFlags = 0;
Note: See TracChangeset for help on using the changeset viewer.