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/Structure.cpp

    r77113 r77151  
    243243
    244244    ASSERT(m_prototype);
    245     ASSERT(m_prototype.isObject() || m_prototype.isNull());
     245    ASSERT(m_prototype->isObject() || m_prototype->isNull());
    246246
    247247#ifndef NDEBUG
     
    477477    }
    478478
    479     RefPtr<Structure> transition = create(structure->m_prototype, structure->typeInfo(), structure->anonymousSlotCount());
     479    RefPtr<Structure> transition = create(structure->m_prototype.get(), structure->typeInfo(), structure->anonymousSlotCount());
    480480
    481481    transition->m_cachedPrototypeChain = structure->m_cachedPrototypeChain;
     
    596596    ASSERT(!structure->isUncacheableDictionary());
    597597   
    598     RefPtr<Structure> transition = create(structure->m_prototype, structure->typeInfo(), structure->anonymousSlotCount());
     598    RefPtr<Structure> transition = create(structure->m_prototype.get(), structure->typeInfo(), structure->anonymousSlotCount());
    599599    transition->m_dictionaryKind = kind;
    600600    transition->m_propertyStorageCapacity = structure->m_propertyStorageCapacity;
     
    621621}
    622622
    623 PassRefPtr<Structure> Structure::flattenDictionaryStructure(JSObject* object)
     623PassRefPtr<Structure> Structure::flattenDictionaryStructure(JSGlobalData& globalData, JSObject* object)
    624624{
    625625    ASSERT(isDictionary());
     
    652652        // Copy the original property values into their final locations
    653653        for (unsigned i = 0; i < propertyCount; i++)
    654             object->putDirectOffset(anonymousSlotCount + i, values[i]);
     654            object->putDirectOffset(globalData, anonymousSlotCount + i, values[i]);
    655655
    656656        if (m_propertyTable->deletedOffsets) {
Note: See TracChangeset for help on using the changeset viewer.