Commit 6a2cc2ac by Kaveh R. Ghazi Committed by Kaveh Ghazi

graph.h: New file to prototype functions exported by graph.c.

	* graph.h: New file to prototype functions exported by graph.c.

	* Makefile.in (graph.o, toplev.o): Depend on graph.h.

	* graph.c: Include graph.h.

	* toplev.c: Likewise.  Remove redundant prototypes.

From-SVN: r29777
parent 2a138827
Sat Oct 2 16:07:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* graph.h: New file to prototype functions exported by graph.c.
* Makefile.in (graph.o, toplev.o): Depend on graph.h.
* graph.c: Include graph.h.
* toplev.c: Likewise. Remove redundant prototypes.
Sat Oct 2 11:28:33 1999 Krister Walfridsson <cato@df.lth.se> Sat Oct 2 11:28:33 1999 Krister Walfridsson <cato@df.lth.se>
* invoke.texi: Removed duplicated description for -Q. * invoke.texi: Removed duplicated description for -Q.
......
...@@ -1343,7 +1343,7 @@ c-iterate.o: c-iterate.c $(CONFIG_H) system.h $(TREE_H) $(RTL_H) c-tree.h \ ...@@ -1343,7 +1343,7 @@ c-iterate.o: c-iterate.c $(CONFIG_H) system.h $(TREE_H) $(RTL_H) c-tree.h \
c-common.h flags.h toplev.h $(EXPR_H) c-common.h flags.h toplev.h $(EXPR_H)
mbchar.o: mbchar.c $(CONFIG_H) system.h mbchar.h mbchar.o: mbchar.c $(CONFIG_H) system.h mbchar.h
graph.o: graph.c $(CONFIG_H) system.h toplev.h flags.h output.h $(RTL_H) \ graph.o: graph.c $(CONFIG_H) system.h toplev.h flags.h output.h $(RTL_H) \
function.h hard-reg-set.h $(BASIC_BLOCK_H) function.h hard-reg-set.h $(BASIC_BLOCK_H) graph.h
sbitmap.o: sbitmap.c $(CONFIG_H) system.h $(RTL_H) flags.h $(BASIC_BLOCK_H) sbitmap.o: sbitmap.c $(CONFIG_H) system.h $(RTL_H) flags.h $(BASIC_BLOCK_H)
COLLECT2_OBJS = collect2.o tlink.o hash.o intl.o underscore.o version.o COLLECT2_OBJS = collect2.o tlink.o hash.o intl.o underscore.o version.o
...@@ -1462,7 +1462,7 @@ fold-const.o : fold-const.c $(CONFIG_H) system.h $(TREE_H) flags.h toplev.h \ ...@@ -1462,7 +1462,7 @@ fold-const.o : fold-const.c $(CONFIG_H) system.h $(TREE_H) flags.h toplev.h \
toplev.o : toplev.c $(CONFIG_H) system.h $(TREE_H) $(RTL_H) function.h \ toplev.o : toplev.c $(CONFIG_H) system.h $(TREE_H) $(RTL_H) function.h \
flags.h input.h insn-attr.h xcoffout.h defaults.h output.h \ flags.h input.h insn-attr.h xcoffout.h defaults.h output.h \
insn-codes.h insn-config.h intl.h $(RECOG_H) Makefile toplev.h dwarfout.h \ insn-codes.h insn-config.h intl.h $(RECOG_H) Makefile toplev.h dwarfout.h \
dwarf2out.h sdbout.h dbxout.h $(EXPR_H) $(BASIC_BLOCK_H) \ dwarf2out.h sdbout.h dbxout.h $(EXPR_H) $(BASIC_BLOCK_H) graph.h \
$(lang_options_files) $(lang_options_files)
$(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(MAYBE_USE_COLLECT2) \ $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(MAYBE_USE_COLLECT2) \
-DTARGET_NAME=\"$(target_alias)\" \ -DTARGET_NAME=\"$(target_alias)\" \
......
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#include "hard-reg-set.h" #include "hard-reg-set.h"
#include "basic-block.h" #include "basic-block.h"
#include "toplev.h" #include "toplev.h"
#include "graph.h"
static const char *graph_ext[] = static const char *graph_ext[] =
{ {
......
/* Header file for graph routines.
Copyright (C) 1998 Free Software Foundation, Inc.
This file is part of GNU CC.
GNU CC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
GNU CC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
#ifndef __GRAPH_H__
#define __GRAPH_H__
extern void print_rtl_graph_with_bb PARAMS ((const char *, const char *, rtx));
extern void clean_graph_dump_file PARAMS ((const char *, const char *));
extern void finish_graph_dump_file PARAMS ((const char *, const char *));
#endif /* ! __GRAPH_H__ */
...@@ -56,6 +56,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -56,6 +56,7 @@ Boston, MA 02111-1307, USA. */
#include "basic-block.h" #include "basic-block.h"
#include "intl.h" #include "intl.h"
#include "ggc.h" #include "ggc.h"
#include "graph.h"
#ifdef DWARF_DEBUGGING_INFO #ifdef DWARF_DEBUGGING_INFO
#include "dwarfout.h" #include "dwarfout.h"
...@@ -204,9 +205,6 @@ static int print_single_switch PROTO((FILE *, int, int, const char *, ...@@ -204,9 +205,6 @@ static int print_single_switch PROTO((FILE *, int, int, const char *,
static void print_switch_values PROTO((FILE *, int, int, const char *, static void print_switch_values PROTO((FILE *, int, int, const char *,
const char *, const char *)); const char *, const char *));
void print_rtl_graph_with_bb PROTO ((const char *, const char *, rtx));
void clean_graph_dump_file PROTO ((const char *, const char *));
void finish_graph_dump_file PROTO ((const char *, const char *));
/* Length of line when printing switch values. */ /* Length of line when printing switch values. */
#define MAX_LINE 75 #define MAX_LINE 75
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment