Changeset 189138 in webkit for trunk/Source/JavaScriptCore/dfg/DFGInPlaceAbstractState.h
- Timestamp:
- Aug 28, 2015, 7:04:36 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/dfg/DFGInPlaceAbstractState.h
r187587 r189138 32 32 #include "DFGBranchDirection.h" 33 33 #include "DFGGraph.h" 34 #include "DFGMergeMode.h"35 34 #include "DFGNode.h" 36 35 … … 77 76 // MergeToSuccessors is passed, then this merges everything we have 78 77 // learned about how the state changes during this block's execution into 79 // the block's data structures. There are three return modes, depending 80 // on the value of mergeMode: 78 // the block's data structures. 81 79 // 82 // DontMerge: 83 // Always returns false. 84 // 85 // MergeToTail: 86 // Returns true if the state of the block at the tail was changed. 87 // This means that you must call mergeToSuccessors(), and if that 88 // returns true, then you must revisit (at least) the successor 89 // blocks. False will always be returned if the block is terminal 90 // (i.e. ends in Throw or Return, or has a ForceOSRExit inside it). 91 // 92 // MergeToSuccessors: 93 // Returns true if the state of the block at the tail was changed, 94 // and, if the state at the heads of successors was changed. 95 // A true return means that you must revisit (at least) the successor 96 // blocks. This also sets cfaShouldRevisit to true for basic blocks 97 // that must be visited next. 98 bool endBasicBlock(MergeMode); 80 // Returns true if the state of the block at the tail was changed, 81 // and, if the state at the heads of successors was changed. 82 // A true return means that you must revisit (at least) the successor 83 // blocks. This also sets cfaShouldRevisit to true for basic blocks 84 // that must be visited next. 85 bool endBasicBlock(); 99 86 100 87 // Reset the AbstractState. This throws away any results, and at this point
Note:
See TracChangeset
for help on using the changeset viewer.