Ignore:
Timestamp:
Oct 9, 2015, 4:10:16 PM (10 years ago)
Author:
[email protected]
Message:

2015-10-09 Geoffrey Garen <[email protected]>

Unreviewed, rolling back in r190694
https://bugs.webkit.org/show_bug.cgi?id=149727

This time for double sure?

The cause of the crash was an incorrect write barrier.

OSR exit was barriering the baseline codeblock for the top of the stack
twice, missing the baseline codeblock for the bottom of the stack.

Restored changesets:

"CodeBlock should be a GC object"
https://bugs.webkit.org/show_bug.cgi?id=149727
http://trac.webkit.org/changeset/r190694

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/dfg/DFGDesiredTransitions.cpp

    r190809 r190827  
    3535namespace JSC { namespace DFG {
    3636
    37 DesiredTransition::DesiredTransition(CodeBlock* codeBlock, ScriptExecutable* codeOriginOwner, Structure* oldStructure, Structure* newStructure)
     37DesiredTransition::DesiredTransition(CodeBlock* codeBlock, CodeBlock* codeOriginOwner, Structure* oldStructure, Structure* newStructure)
    3838    : m_codeBlock(codeBlock)
    3939    , m_codeOriginOwner(codeOriginOwner)
     
    4747    common->transitions.append(
    4848        WeakReferenceTransition(
    49             vm, m_codeBlock->ownerExecutable(),
     49            vm, m_codeBlock,
    5050            m_codeOriginOwner,
    5151            m_oldStructure, m_newStructure));
     
    6767}
    6868
    69 void DesiredTransitions::addLazily(CodeBlock* codeBlock, ScriptExecutable* codeOriginOwner, Structure* oldStructure, Structure* newStructure)
     69void DesiredTransitions::addLazily(CodeBlock* codeBlock, CodeBlock* codeOriginOwner, Structure* oldStructure, Structure* newStructure)
    7070{
    7171    m_transitions.append(DesiredTransition(codeBlock, codeOriginOwner, oldStructure, newStructure));
Note: See TracChangeset for help on using the changeset viewer.