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]

document edge flags


Hi,
we don't document edge flags even when we should.  Here is a patch.

Tue Oct 30 14:40:49 CET 2001  Jan Hubicka  <jh@suse.cz>
	* basic-block.h (EDGE_*): Document.
Index: basic-block.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/basic-block.h,v
retrieving revision 1.127
diff -c -3 -p -r1.127 basic-block.h
*** basic-block.h	2001/10/29 11:45:43	1.127
--- basic-block.h	2001/10/30 13:36:29
*************** typedef struct edge_def {
*** 140,149 ****
--- 140,163 ----
  } *edge;
  
  #define EDGE_FALLTHRU		1
+ 
+ /* Edges not comming for usual jump instruction do have EDGE_ABNORMAL flag
+    set.  Such edges can not be redirected.  */
  #define EDGE_ABNORMAL		2
+ 
+ /* Edges for calls causing for transfer, such as sibbling call, longjmp or
+    possibly throwing calls.  */
  #define EDGE_ABNORMAL_CALL	4
+ 
+ /* Edge from (possibly) trapping instruction to exception handler.  */
  #define EDGE_EH			8
+ 
+ /* Fake edge used internally by some passes to represent additional
+    information.  */
  #define EDGE_FAKE		16
+ 
+ /* Backward edge in the depth first search.  Usually this flag is not maitained
+    up-to-date.  Call mark_dfs_back_edges before using.  */
  #define EDGE_DFS_BACK		32
  
  #define EDGE_COMPLEX	(EDGE_ABNORMAL | EDGE_ABNORMAL_CALL | EDGE_EH)


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