Ignore:
Timestamp:
Aug 21, 2015, 1:48:59 PM (10 years ago)
Author:
[email protected]
Message:

DFG::NodeOrigin should have a flag determining if exiting is OK right now
https://bugs.webkit.org/show_bug.cgi?id=148323

Reviewed by Saam Barati.

  • dfg/DFGByteCodeParser.cpp:

(JSC::DFG::ByteCodeParser::currentNodeOrigin):
(JSC::DFG::ByteCodeParser::branchData):

  • dfg/DFGInsertionSet.h:

(JSC::DFG::InsertionSet::insertConstant):
(JSC::DFG::InsertionSet::insertConstantForUse):
(JSC::DFG::InsertionSet::insertBottomConstantForUse):

  • dfg/DFGIntegerCheckCombiningPhase.cpp:

(JSC::DFG::IntegerCheckCombiningPhase::handleBlock):

  • dfg/DFGLICMPhase.cpp:

(JSC::DFG::LICMPhase::attemptHoist):

  • dfg/DFGNodeOrigin.h:

(JSC::DFG::NodeOrigin::NodeOrigin):
(JSC::DFG::NodeOrigin::isSet):
(JSC::DFG::NodeOrigin::withSemantic):

  • dfg/DFGObjectAllocationSinkingPhase.cpp:
File:
1 edited

Legend:

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

    r184646 r188771  
    288288        node->owner = data.preHeader;
    289289        NodeOrigin originalOrigin = node->origin;
    290         node->origin.forExit = data.preHeader->terminal()->origin.forExit;
    291         if (!node->origin.semantic.isSet())
    292             node->origin.semantic = node->origin.forExit;
     290        node->origin = data.preHeader->terminal()->origin.withSemantic(node->origin.semantic);
    293291       
    294292        // Modify the states at the end of the preHeader of the loop we hoisted to,
Note: See TracChangeset for help on using the changeset viewer.