[llvm-commits] [GNU_GCC] CVS: gcc-3.4/gcc/cgraph.h cgraph.c
John Criswell
criswell at cs.uiuc.edu
Thu Jan 22 10:02:01 PST 2004
Changes in directory gcc-3.4/gcc:
cgraph.h updated: 1.1.1.2 -> 1.1.1.3
cgraph.c updated: 1.1.1.2 -> 1.1.1.3
---
Log message:
Added a needed function for the additions to cgraphunit.c.
---
Diffs of the changes: (+2 -2)
Index: gcc-3.4/gcc/cgraph.h
diff -u gcc-3.4/gcc/cgraph.h:1.1.1.2 gcc-3.4/gcc/cgraph.h:1.1.1.3
--- gcc-3.4/gcc/cgraph.h:1.1.1.2 Tue Jan 13 10:49:00 2004
+++ gcc-3.4/gcc/cgraph.h Thu Jan 22 10:01:21 2004
@@ -150,6 +150,7 @@
/* In cgraph.c */
void dump_cgraph (FILE *);
+void cgraph_remove_edge (struct cgraph_node *, struct cgraph_node *);
void cgraph_remove_call (tree, tree);
void cgraph_remove_node (struct cgraph_node *);
struct cgraph_edge *cgraph_record_call (tree, tree);
Index: gcc-3.4/gcc/cgraph.c
diff -u gcc-3.4/gcc/cgraph.c:1.1.1.2 gcc-3.4/gcc/cgraph.c:1.1.1.3
--- gcc-3.4/gcc/cgraph.c:1.1.1.2 Tue Jan 13 10:49:00 2004
+++ gcc-3.4/gcc/cgraph.c Thu Jan 22 10:01:21 2004
@@ -68,7 +68,6 @@
static struct cgraph_edge *create_edge (struct cgraph_node *,
struct cgraph_node *);
-static void cgraph_remove_edge (struct cgraph_node *, struct cgraph_node *);
static hashval_t hash_node (const void *);
static int eq_node (const void *, const void *);
@@ -180,7 +179,7 @@
/* Remove the edge from CALLER to CALLEE in the cgraph. */
-static void
+void
cgraph_remove_edge (struct cgraph_node *caller, struct cgraph_node *callee)
{
struct cgraph_edge **edge, **edge2;
More information about the llvm-commits
mailing list