aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraph.c
diff options
context:
space:
mode:
authorSteven Bosscher <steven@gcc.gnu.org>2012-07-11 08:58:58 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2012-07-11 08:58:58 +0000
commit6bdf3519449086bc04f2431305607ff8c71e27ca (patch)
tree925b12f81139a149b6eac2f48f1a0c0b78fd2124 /gcc/cgraph.c
parentb8244d74e1929d1f4e06dbc3ca307ddf754c6b3c (diff)
downloadgcc-6bdf3519449086bc04f2431305607ff8c71e27ca.zip
gcc-6bdf3519449086bc04f2431305607ff8c71e27ca.tar.gz
gcc-6bdf3519449086bc04f2431305607ff8c71e27ca.tar.bz2
expr.h (can_move_by_pieces): Move prototype from here ...
gcc/ * expr.h (can_move_by_pieces): Move prototype from here ... * tree.h (can_move_by_pieces): ... to here. * optabs.h (set_widening_optab_handler): Use XCNEW. * gimplify.c: Do not include expr.h. * toplev.c: Do not include dwarf2out.h. * config/ia64/ia64.c: Likewise. * config/sparc/sparc.c: Likewise. * config/sparc/t-sparc (sparc.o): Fix dependencies. * Makefile.in (toplev.o): Fix dependencies (c-family/c-gimplify.o): Likewise. (c-family/c-common.o): Likewise. c-family/ * c-gimplify.c: Do not include basic-block.h. * c-common.c: Do not include linfuncs.h. cp/ * method.c: Do not include tree-pass.h. fortran/ * trans.c: Do not include defaults.h. * trans-intrinsic.c: Likewise. java/ * decl.c: Do not include libfuncs.h. * class.c: Do not include defaults.h. * jvgenmain.c: Likewise. * magnle.c: Likewise. * Make-lang.in (decl.o): Fix dependencies. From-SVN: r189425
Diffstat (limited to 'gcc/cgraph.c')
-rw-r--r--gcc/cgraph.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cgraph.c b/gcc/cgraph.c
index 217644d..0f13ae8 100644
--- a/gcc/cgraph.c
+++ b/gcc/cgraph.c
@@ -509,7 +509,7 @@ cgraph_node_for_asm (tree asmname)
return NULL;
}
-/* Returns a hash value for X (which really is a die_struct). */
+/* Returns a hash value for X (which really is a cgraph_edge). */
static hashval_t
edge_hash (const void *x)
@@ -517,7 +517,7 @@ edge_hash (const void *x)
return htab_hash_pointer (((const struct cgraph_edge *) x)->call_stmt);
}
-/* Return nonzero if decl_id of die_struct X is the same as UID of decl *Y. */
+/* Return nonzero if the call_stmt of of cgraph_edge X is stmt *Y. */
static int
edge_eq (const void *x, const void *y)