⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 197092 in webkit


Ignore:
Timestamp:
Feb 25, 2016, 3:05:58 AM (11 years ago)
Author:
Carlos Garcia Campos
Message:

Merge r196896 - CodeBlock always visits its unlinked code twice
​https://bugs.webkit.org/show_bug.cgi?id=154494

Patch by Joseph Pecoraro <Joseph Pecoraro> on 2016-02-21
Reviewed by Saam Barati.

  • bytecode/CodeBlock.cpp:

(JSC::CodeBlock::visitChildren):
The unlinked code is always visited in stronglyVisitStrongReferences.

Location:
releases/WebKitGTK/webkit-2.12/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • releases/WebKitGTK/webkit-2.12/Source/JavaScriptCore/ChangeLog

    r197071 r197092  
     12016-02-21  Joseph Pecoraro  <pecoraro@apple.com>
     2
     3        CodeBlock always visits its unlinked code twice
     4        https://bugs.webkit.org/show_bug.cgi?id=154494
     5
     6        Reviewed by Saam Barati.
     7
     8        * bytecode/CodeBlock.cpp:
     9        (JSC::CodeBlock::visitChildren):
     10        The unlinked code is always visited in stronglyVisitStrongReferences.
     11
    1122016-02-18  Gavin Barraclough  <barraclough@apple.com>
    213
  • releases/WebKitGTK/webkit-2.12/Source/JavaScriptCore/bytecode/CodeBlock.cpp

    r195865 r197092  
    24862486    if (m_instructions.size())
    24872487        visitor.reportExtraMemoryVisited(m_instructions.size() * sizeof(Instruction) / m_instructions.refCount());
    2488 
    2489     visitor.append(&m_unlinkedCode);
    24902488
    24912489    stronglyVisitStrongReferences(visitor);
Note: See TracChangeset for help on using the changeset viewer.