Ignore:
Timestamp:
Dec 2, 2015, 11:15:33 AM (10 years ago)
Author:
[email protected]
Message:

Teach DFG that ArithSub can now clobber the heap (and other things).
https://bugs.webkit.org/show_bug.cgi?id=151733

Reviewed by Geoffrey Garen.

  • dfg/DFGAbstractInterpreterInlines.h:

(JSC::DFG::AbstractInterpreter<AbstractStateType>::executeEffects):

  • dfg/DFGClobberize.h:

(JSC::DFG::clobberize):

  • dfg/DFGPredictionPropagationPhase.cpp:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/dfg/DFGAbstractInterpreterInlines.h

    r192882 r192949  
    529529            break;
    530530        case UntypedUse:
    531             forNode(node).setType(m_graph, SpecHeapTop);
     531            clobberWorld(node->origin.semantic, clobberLimit);
     532            forNode(node).setType(m_graph, SpecBytecodeNumber);
    532533            break;
    533534        default:
Note: See TracChangeset for help on using the changeset viewer.