Ignore:
Timestamp:
Jan 20, 2014, 2:17:22 PM (11 years ago)
Author:
[email protected]
Message:

CodeBlockSet::traceMarked doesn't need to visit the ownerExecutable
https://bugs.webkit.org/show_bug.cgi?id=127301

Reviewed by Oliver Hunt.

We used to just call CodeBlock::visitAggregate, but now we call visitChildren
on the ownerExecutable, which is unnecessary.

  • heap/CodeBlockSet.cpp:

(JSC::CodeBlockSet::traceMarked):

File:
1 edited

Legend:

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

    r161615 r162377  
    103103        if (!codeBlock->m_mayBeExecuting)
    104104            continue;
    105         codeBlock->ownerExecutable()->methodTable()->visitChildren(codeBlock->ownerExecutable(), visitor);
     105        codeBlock->visitAggregate(visitor);
    106106    }
    107107}
Note: See TracChangeset for help on using the changeset viewer.