Ignore:
Timestamp:
Jan 31, 2011, 12:07:21 PM (14 years ago)
Author:
[email protected]
Message:

2011-01-31 Oliver Hunt <[email protected]>

Convert markstack to a slot visitor API
https://bugs.webkit.org/show_bug.cgi?id=53219

rolling r77098, r77099, r77100, r77109, and
r77111 back in, along with a few more Qt fix attempts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/runtime/BatchedTransitionOptimizer.h

    r77113 r77151  
    3535        WTF_MAKE_NONCOPYABLE(BatchedTransitionOptimizer);
    3636    public:
    37         BatchedTransitionOptimizer(JSObject* object)
    38             : m_object(object)
     37        BatchedTransitionOptimizer(JSGlobalData& globalData, JSObject* object)
     38            : m_globalData(&globalData)
     39            , m_object(object)
    3940        {
    4041            if (!m_object->structure()->isDictionary())
     
    4445        ~BatchedTransitionOptimizer()
    4546        {
    46             m_object->flattenDictionaryObject();
     47            m_object->flattenDictionaryObject(*m_globalData);
    4748        }
    4849
    4950    private:
     51        JSGlobalData* m_globalData;
    5052        JSObject* m_object;
    5153    };
Note: See TracChangeset for help on using the changeset viewer.