Ignore:
Timestamp:
Jan 15, 2009, 3:49:55 PM (16 years ago)
Author:
[email protected]
Message:

2009-01-15 Sam Weinig <[email protected]>

Reviewed by Gavin Barraclough.

Fix crash seen running fast/canvas.

Make sure to mark the ScopeNode and CodeBlock being created
in the re-parse for exception information.

  • bytecode/CodeBlock.cpp: (JSC::CodeBlock::reparseForExceptionInfoIfNecessary):
  • parser/Nodes.h: (JSC::ScopeNode::mark):
  • runtime/Collector.cpp: (JSC::Heap::collect):
  • runtime/JSGlobalData.cpp: (JSC::JSGlobalData::JSGlobalData):
  • runtime/JSGlobalData.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/runtime/Collector.cpp

    r39851 r39951  
    987987    m_globalData->interpreter->registerFile().markCallFrames(this);
    988988    m_globalData->smallStrings.mark();
     989    if (m_globalData->scopeNodeBeingReparsed)
     990        m_globalData->scopeNodeBeingReparsed->mark();
    989991
    990992    JAVASCRIPTCORE_GC_MARKED();
Note: See TracChangeset for help on using the changeset viewer.