This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Update comments in dominance.c



2003-03-06  Sebastian Pop  <s dot pop at laposte dot net>

	* dominance.c (calculate_dominance_info): Update the comments.


Index: dominance.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/dominance.c,v
retrieving revision 1.15
diff -c -r1.15 dominance.c
*** dominance.c	16 Dec 2002 18:19:21 -0000	1.15
--- dominance.c	6 Mar 2003 14:19:14 -0000
***************
*** 544,560 ****
        di->dom[v] = di->dom[di->dom[v]];
  }
  
! /* The main entry point into this module.  IDOM is an integer array with room
!    for last_basic_block integers, DOMS is a preallocated sbitmap array having
!    room for last_basic_block^2 bits, and POST is true if the caller wants to
!    know post-dominators.
! 
!    On return IDOM[i] will be the BB->index of the immediate (post) dominator
!    of basic block i, and DOMS[i] will have set bit j if basic block j is a
!    (post)dominator for block i.
! 
!    Either IDOM or DOMS may be NULL (meaning the caller is not interested in
!    immediate resp. all dominators).  */
  
  dominance_info
  calculate_dominance_info (reverse)
--- 544,551 ----
        di->dom[v] = di->dom[di->dom[v]];
  }
  
! /* The main entry point into this module.  REVERSE specifies what information 
!    to compute.  Possible values are CDI_DOMINATORS and CDI_POST_DOMINATORS.  */
  
  dominance_info
  calculate_dominance_info (reverse)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]