Ignore:
Timestamp:
Jul 28, 2013, 11:04:18 AM (12 years ago)
Author:
[email protected]
Message:

REGRESSION: Crash when opening Facebook.com
https://bugs.webkit.org/show_bug.cgi?id=119155

Reviewed by Andreas Kling.

Scope nodes are always objects, so we should be using SpecObjectOther
rather than SpecCellOther. Marking Scopes as CellOther leads to a
contradiction in the CFA, resulting in bogus codegen.

  • dfg/DFGAbstractInterpreterInlines.h:

(JSC::DFG::::executeEffects):

  • dfg/DFGPredictionPropagationPhase.cpp:

(JSC::DFG::PredictionPropagationPhase::propagate):

File:
1 edited

Legend:

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

    r153292 r153410  
    393393        case SkipTopScope:
    394394        case SkipScope: {
    395             changed |= setPrediction(SpecCellOther);
     395            changed |= setPrediction(SpecObjectOther);
    396396            break;
    397397        }
     
    499499
    500500        case GetScope:
    501             changed |= setPrediction(SpecCellOther);
     501            changed |= setPrediction(SpecObjectOther);
    502502            break;
    503503           
Note: See TracChangeset for help on using the changeset viewer.