gcc/gcc ChangeLog.struct-reorg cgraph.c cgraph ...

ctice@gcc.gnu.org ctice@gcc.gnu.org
Thu Oct 21 19:16:00 GMT 2004


CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	struct-reorg-branch
Changes by:	ctice@gcc.gnu.org	2004-10-21 19:16:17

Modified files:
	gcc            : ChangeLog.struct-reorg cgraph.c cgraph.h 
	                 cgraphunit.c 

Log message:
	Add indirect function call information to cgraph data.
	
	2004-10-21  Caroline Tice  <ctice@apple.com>
	
	* cgraph.c (cgraph_create_indirect_edge) : New function.
	(cgraph_indirect_call_edge):  New function.
	(cgraph_indirect_assign_edge):  New function.
	(cgraph_create_edge):  Initialize indirect function call fields.
	* cgraph.h (struct cgraph_node):  Add new field, indirect_calls.
	(struct cgraph_edge):  Add new fields, next_indirect_call,
	indirect_call_var, indirect_called_fns.
	(INDIRECT_CALLS):  New accessor macro.
	(NEXT_INDIRECT_CALL):  New accessor macro.
	(INDIRECT_CALL_VAR):  New accessor macro.
	(INDIRECT_CALLED_FNS):  New accessor macro.
	(cgraph_indirect_assign_edge): New function declaration.
	(cgraph_indirect_call_edge): New function declaration.
	* cgraphunit.c (record_call_1):  Add code for recording indirect
	function calls.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.struct-reorg.diff?cvsroot=gcc&only_with_tag=struct-reorg-branch&r1=1.1.2.10&r2=1.1.2.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cgraph.c.diff?cvsroot=gcc&only_with_tag=struct-reorg-branch&r1=1.4.4.18.2.5.2.4&r2=1.4.4.18.2.5.2.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cgraph.h.diff?cvsroot=gcc&only_with_tag=struct-reorg-branch&r1=1.1.4.16.2.4.2.4&r2=1.1.4.16.2.4.2.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cgraphunit.c.diff?cvsroot=gcc&only_with_tag=struct-reorg-branch&r1=1.1.4.35.2.12.2.9&r2=1.1.4.35.2.12.2.10



More information about the Gcc-cvs mailing list