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]

typo fixup patch for flow.c


This patch corrects the dumb typos (aren't they all...) in the last patch. 

Andrew

	* basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
	* flow.c (remove_edge): Remove extra whitespace.
	(remove_fake_edges): Fix comment.
	(add_noreturn_fake_exit_edges): Use the correct name.


Index: basic-block.h
===================================================================
RCS file: /cvs/cvsfiles/devo/gcc/basic-block.h,v
retrieving revision 1.39
diff -c -p -r1.39 basic-block.h
*** basic-block.h	1999/09/21 19:02:22	1.39
--- basic-block.h	1999/09/22 15:29:48
*************** extern basic_block split_edge		PROTO ((e
*** 244,250 ****
  extern void insert_insn_on_edge		PROTO ((rtx, edge));
  extern void commit_edge_insertions	PROTO ((void));
  extern void remove_fake_edges		PROTO ((void));
! extern void add_fake_exit_edges		PROTO ((void));
    
  /* This structure maintains an edge list vector.  */
  struct edge_list 
--- 244,250 ----
  extern void insert_insn_on_edge		PROTO ((rtx, edge));
  extern void commit_edge_insertions	PROTO ((void));
  extern void remove_fake_edges		PROTO ((void));
! extern void add_noreturn_fake_exit_edges	PROTO ((void));
    
  /* This structure maintains an edge list vector.  */
  struct edge_list 
Index: flow.c
===================================================================
RCS file: /cvs/cvsfiles/devo/gcc/flow.c,v
retrieving revision 1.195
diff -c -p -r1.195 flow.c
*** flow.c	1999/09/21 19:04:39	1.195
--- flow.c	1999/09/22 15:30:04
*************** remove_edge (e)
*** 6770,6776 ****
      dest->pred = e->pred_next;
  
    free (e);
- 
  }
  
  /* This routine will remove any fake successor edges for a basic block.
--- 6770,6775 ----
*************** remove_fake_edges ()
*** 6806,6812 ****
        bb = BASIC_BLOCK (x);
        remove_fake_successors (bb);
      }
!   /* we've handled all successors except the entry block's.  */
    remove_fake_successors (ENTRY_BLOCK_PTR);
  }
  
--- 6805,6811 ----
        bb = BASIC_BLOCK (x);
        remove_fake_successors (bb);
      }
!   /* We've handled all successors except the entry block's.  */
    remove_fake_successors (ENTRY_BLOCK_PTR);
  }
  
*************** remove_fake_edges ()
*** 6814,6820 ****
     successors, and the exit block. Some data flow equations require these
     edges to exist.  */
  void
! add_fake_exit_edges ()
  {
    int x;
  
--- 6813,6819 ----
     successors, and the exit block. Some data flow equations require these
     edges to exist.  */
  void
! add_noreturn_fake_exit_edges ()
  {
    int x;
  


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