Ignore:
Timestamp:
May 24, 2021, 12:29:38 PM (4 years ago)
Author:
[email protected]
Message:

Unreviewed, revert r276610 because it causes a 1% PLT regression.

Source/JavaScriptCore:

  • bytecode/CodeBlock.cpp:

(JSC::CodeBlock::visitChildren):
(JSC::CodeBlock::JITData::size const): Deleted.

  • bytecode/CodeBlock.h:
  • jit/JITCodeMap.h:

(JSC::JITCodeMap::memorySize const): Deleted.

Source/WTF:

  • wtf/Bag.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/jit/JITCodeMap.h

    r276610 r277963  
    5959    explicit operator bool() const { return m_size; }
    6060
    61     size_t memorySize() const { return sizeof(CodeLocationLabel<JSEntryPtrTag>) * m_size + sizeof(BytecodeIndex) * m_size; }
    62 
    6361private:
    6462    CodeLocationLabel<JSEntryPtrTag>* codeLocations() const
Note: See TracChangeset for help on using the changeset viewer.