cloud9_root/src/third_party/stp/src/simplifier/constantBitP/ConstantBitPropagation.cpp
// add to the work list any nodes that take the result of the "n" node.
add to the work list any nodes that take the result of the "n" node.
add to the work list any nodes that take the result of the " n " node .
void
    ConstantBitPropagation::scheduleUp(const ASTNode& n)
    {
      const set<ASTNode>* toAdd = dependents->getDependents(n);
      set<ASTNode>::iterator it = toAdd->begin();
      while (it != toAdd->end())
        {
          workList->push(*it);
          it++;
        }
    }
void ConstantBitPropagation :: scheduleUp ( const ASTNode & n ) { const set < ASTNode > * toAdd = dependents -> getDependents ( n ) ; set < ASTNode > :: iterator it = toAdd -> begin ( ) ; while ( it != toAdd -> end ( ) ) { workList -> push ( * it ) ; it ++ ; } }
add to the work list any nodes that take the result of the "n" node.
add to the work list any nodes that take the result of the " n " node .