Ignore:
Timestamp:
Jul 20, 2011, 1:25:15 PM (14 years ago)
Author:
[email protected]
Message:

Codeblock doesn't visit cached structures in global resolve instructions
https://bugs.webkit.org/show_bug.cgi?id=64889

Reviewed by Sam Weinig.

Visit the global resolve instructions. This fixes a couple
of random crashes seen in the jquery tests when using the
interpreter.

  • bytecode/CodeBlock.cpp:

(JSC::CodeBlock::visitAggregate):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/bytecode/CodeBlock.cpp

    r91194 r91394  
    15561556    for (size_t size = m_propertyAccessInstructions.size(), i = 0; i < size; ++i)
    15571557        visitStructures(visitor, &m_instructions[m_propertyAccessInstructions[i]]);
     1558    for (size_t size = m_globalResolveInstructions.size(), i = 0; i < size; ++i)
     1559        visitStructures(visitor, &m_instructions[m_globalResolveInstructions[i]]);
    15581560#endif
    15591561#if ENABLE(JIT)
Note: See TracChangeset for help on using the changeset viewer.