Ignore:
Timestamp:
Jan 25, 2018, 9:21:09 AM (8 years ago)
Author:
[email protected]
Message:

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

it made ARM64 (Linux and iOS) crash (Requested by pizlo-mbp on
#webkit).

Reverted changeset:

"JSC GC should support TLCs (thread local caches)"
https://bugs.webkit.org/show_bug.cgi?id=181559
https://trac.webkit.org/changeset/227592

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/bytecode/ObjectAllocationProfile.h

    r227592 r227609  
    4444
    4545    ObjectAllocationProfile()
    46         : m_inlineCapacity(0)
     46        : m_allocator(0)
     47        , m_inlineCapacity(0)
    4748    {
    4849    }
     
    6364    void clear()
    6465    {
    65         m_allocator = Allocator();
     66        m_allocator = nullptr;
    6667        m_structure.clear();
    6768        m_inlineCapacity = 0;
     
    7778    unsigned possibleDefaultPropertyCount(VM&, JSObject* prototype);
    7879
    79     Allocator m_allocator; // Precomputed to make things easier for generated code.
     80    BlockDirectory* m_allocator; // Precomputed to make things easier for generated code.
    8081    WriteBarrier<Structure> m_structure;
    8182    unsigned m_inlineCapacity;
Note: See TracChangeset for help on using the changeset viewer.