Ignore:
Timestamp:
Jul 16, 2009, 8:24:32 PM (16 years ago)
Author:
[email protected]
Message:

2009-07-16 Gavin Barraclough <[email protected]>

RS by Oliver Hunt.

Revert r45969, this fix does not appear to be valid.
https://bugs.webkit.org/show_bug.cgi?id=27077

  • bytecode/CodeBlock.cpp: (JSC::CodeBlock::~CodeBlock): (JSC::CodeBlock::unlinkCallers):
  • jit/JIT.cpp:
  • jit/JIT.h:
File:
1 edited

Legend:

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

    r45969 r46004  
    13191319    }
    13201320
     1321    for (size_t size = m_methodCallLinkInfos.size(), i = 0; i < size; ++i) {
     1322        if (Structure* structure = m_methodCallLinkInfos[i].cachedStructure)
     1323            structure->deref();
     1324    }
     1325
    13211326    unlinkCallers();
    13221327#endif
     
    13371342    }
    13381343    m_linkedCallerList.clear();
    1339 
    1340     for (size_t size = m_methodCallLinkInfos.size(), i = 0; i < size; ++i) {
    1341         if (m_methodCallLinkInfos[i].cachedStructure) {
    1342             m_methodCallLinkInfos[i].cachedStructure->deref();
    1343             m_methodCallLinkInfos[i].cachedStructure = 0;
    1344             JIT::unlinkMethodCall(&m_methodCallLinkInfos[i]);
    1345         }
    1346     }
    13471344}
    13481345#endif
Note: See TracChangeset for help on using the changeset viewer.