⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 185427 in webkit


Ignore:
Timestamp:
Jun 10, 2015, 1:35:14 PM (11 years ago)
Author:
fpizlo@apple.com
Message:

DFG ASSERTION FAILED: !iterate() on stress/singleton-scope-then-overwrite.js.ftl-eager
​https://bugs.webkit.org/show_bug.cgi?id=145853

Unreviewed, remove the assertion.

  • dfg/DFGCSEPhase.cpp:
Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r185419 r185427  
     12015-06-10  Filip Pizlo  <fpizlo@apple.com>
     2
     3        DFG ASSERTION FAILED: !iterate() on stress/singleton-scope-then-overwrite.js.ftl-eager
     4        https://bugs.webkit.org/show_bug.cgi?id=145853
     5
     6        Unreviewed, remove the assertion.
     7
     8        * dfg/DFGCSEPhase.cpp:
     9
    1102015-06-10  Commit Queue  <commit-queue@webkit.org>
    211
  • trunk/Source/JavaScriptCore/dfg/DFGCSEPhase.cpp

    r184776 r185427  
    410410        bool changed = iterate();
    411411       
    412         // Iterating a second time should not find new CSE opportunities, unless we have a bug.
    413         if (validationEnabled()) {
    414             reset();
    415             DFG_ASSERT(m_graph, nullptr, !iterate());
    416         }
     412        // FIXME: It should be possible to assert that CSE will not find any new opportunities if you
     413        // run it a second time. Unfortunately, we cannot assert this right now. Note that if we did
     414        // this, we'd have to first reset all of our state.
     415        // https://bugs.webkit.org/show_bug.cgi?id=145853
    417416       
    418417        return changed;
    419     }
    420    
    421     void reset()
    422     {
    423         m_pureValues.clear();
    424        
    425         for (BlockIndex i = m_impureDataMap.size(); i--;) {
    426             m_impureDataMap[i].availableAtTail.clear();
    427             m_impureDataMap[i].didVisit = false;
    428         }
    429418    }
    430419   
Note: See TracChangeset for help on using the changeset viewer.