Ignore:
Timestamp:
Jan 12, 2015, 10:26:11 AM (10 years ago)
Author:
[email protected]
Message:

Unreviewed, rolling out r178266.
https://bugs.webkit.org/show_bug.cgi?id=140363

Broke a JSC test (Requested by ap on #webkit).

Reverted changeset:

"Local JSArray* "keys" in objectConstructorKeys() is not
marked during garbage collection"
https://bugs.webkit.org/show_bug.cgi?id=140348
http://trac.webkit.org/changeset/178266

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/heap/Heap.cpp

    r178266 r178284  
    505505    // We gather conservative roots before clearing mark bits because conservative
    506506    // gathering uses the mark bits to determine whether a reference is valid.
     507    void* dummy;
    507508    ConservativeRoots conservativeRoots(&m_objectSpace.blocks(), &m_storageSpace);
    508     gatherStackRoots(conservativeRoots);
     509    gatherStackRoots(conservativeRoots, &dummy);
    509510    gatherJSStackRoots(conservativeRoots);
    510511    gatherScratchBufferRoots(conservativeRoots);
     
    566567}
    567568
    568 void Heap::gatherStackRoots(ConservativeRoots& roots)
     569void Heap::gatherStackRoots(ConservativeRoots& roots, void** dummy)
    569570{
    570571    GCPHASE(GatherStackRoots);
    571572    m_jitStubRoutines.clearMarks();
    572     m_machineThreads.gatherConservativeRoots(roots, m_jitStubRoutines, m_codeBlocks);
     573    m_machineThreads.gatherConservativeRoots(roots, m_jitStubRoutines, m_codeBlocks, dummy);
    573574}
    574575
Note: See TracChangeset for help on using the changeset viewer.