This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r117605 - in /branches/escape-analysis/gcc: Cha...
- From: pbiggar at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 10 Oct 2006 16:18:07 -0000
- Subject: r117605 - in /branches/escape-analysis/gcc: Cha...
Author: pbiggar
Date: Tue Oct 10 16:18:06 2006
New Revision: 117605
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117605
Log:
* ipa-stack-allocate.c (is_constructor): Simplified
(is_java_allocator): Replaced with is_memory_allocation; simplified to
compare pointers with the front-end.
(allocator_count, allocators): Removed
(is_pointer_arithmetic, update_connection_graph_from_pointer_arithmetic):
Merged into check_pointer_arithmetic_stmt.
(update_connection_graph_from_pointer_dereference)
(is_pointer_dereference): Merged into check_pointer_dereference_stmt.
(is_cast_stmt, update_connection_graph_from_cast): Merged into
check_cast_stmt.
(is_reference_copy_stmt, update_connection_graph_from_reference_copy):
Merged into check_reference_copy_stmt.
(is_pointer_return, update_connection_graph_from_return): Merged into
check_return_stmt.
(update_connection_graph_from_assignment_from_array)
(is_assignment_from_array): Merged into check_assignment_from_array_stmt
(check_assignment_from_data_array_stmt): New
(insert_reference, insert_return, (insert_assignment_from_field)
(insert_assignment_to_field): New
(update_connection_graph_from_assignment_to_indirect_array_ref)
(is_assignment_to_indirect_array_ref): Merged into
check_assignment_to_data_array_stmt.
(update_connection_graph_from_assignment_from_field)
(is_assignment_from_field): Merged into check_assignment_from_field_stmt
(update_connection_graph_from_assignment_to_field)
(is_assignment_to_field): Merged into check_assignment_to_field_stmt
(update_connection_graph_from_assignment_from_vtable)
(is_assignment_from_vtable): Merged into check_vtable_stmt
(is_null_pointer_exception): Merged into
check_null_pointer_exception_stmt with logic from
update_connection_graph_from_statement
(update_connection_graph_from_statement): Formatting changes, and calling
new functions
(replace_with_alloca): Use the calculated size, rather than 128
* congraph.c (new_con_graph): Don't automatically add return_node
(con_graph_dump): Identify nodes by integer, rather than address in dump.
Print return nodes properly
(add_return_node): Use the passed id instead of the graph as id.
(add_node): Add indexing for dumping
(get_points_to): Fix circular list problem
(get_field_nodes): Fix circular list problem
(get_terminal_nodes): Fix circular list problem, add all fields lazily
(link_length, clear_links, in_link_list): New
Modified:
branches/escape-analysis/gcc/ChangeLog
branches/escape-analysis/gcc/congraph.c
branches/escape-analysis/gcc/congraph.h
branches/escape-analysis/gcc/ipa-stack-allocate.c