Changeset 141662 in webkit


Ignore:
Timestamp:
Feb 1, 2013 4:26:25 PM (11 years ago)
Author:
fpizlo@apple.com
Message:

Eliminate dead blocks sooner in the DFG::ByteCodeParser to make clear that you don't need to hold onto them during Phi construction
https://bugs.webkit.org/show_bug.cgi?id=108717

Reviewed by Mark Hahnenberg.

I think this makes the code clearer. It doesn't change behavior.

  • dfg/DFGByteCodeParser.cpp:

(JSC::DFG::ByteCodeParser::parse):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r141651 r141662  
     12013-02-01  Filip Pizlo  <fpizlo@apple.com>
     2
     3        Eliminate dead blocks sooner in the DFG::ByteCodeParser to make clear that you don't need to hold onto them during Phi construction
     4        https://bugs.webkit.org/show_bug.cgi?id=108717
     5
     6        Reviewed by Mark Hahnenberg.
     7       
     8        I think this makes the code clearer. It doesn't change behavior.
     9
     10        * dfg/DFGByteCodeParser.cpp:
     11        (JSC::DFG::ByteCodeParser::parse):
     12
    1132013-02-01  Mark Hahnenberg  <mhahnenberg@apple.com>
    214
  • trunk/Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp

    r141364 r141662  
    37313731#endif
    37323732   
    3733     m_currentProfilingIndex = m_currentIndex;
    3734    
    3735     processPhiStack<LocalPhiStack>();
    3736 #if DFG_ENABLE(DEBUG_PROPAGATION_VERBOSE)
    3737     dataLogF("Processing argument phis.\n");
    3738 #endif
    3739     processPhiStack<ArgumentPhiStack>();
    3740 
    37413733    for (BlockIndex blockIndex = 0; blockIndex < m_graph.m_blocks.size(); ++blockIndex) {
    37423734        BasicBlock* block = m_graph.m_blocks[blockIndex].get();
     
    37463738    }
    37473739   
     3740    m_currentProfilingIndex = m_currentIndex;
     3741   
     3742    processPhiStack<LocalPhiStack>();
     3743#if DFG_ENABLE(DEBUG_PROPAGATION_VERBOSE)
     3744    dataLogF("Processing argument phis.\n");
     3745#endif
     3746    processPhiStack<ArgumentPhiStack>();
     3747
    37483748    fixVariableAccessPredictions();
    37493749   
Note: See TracChangeset for help on using the changeset viewer.