This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r117208 - in /branches/escape-analysis: gcc/Cha...
- From: pbiggar at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 25 Sep 2006 20:47:19 -0000
- Subject: r117208 - in /branches/escape-analysis: gcc/Cha...
Author: pbiggar
Date: Mon Sep 25 20:47:18 2006
New Revision: 117208
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117208
Log:
2006-09-25 Paul Biggar <paul.biggar@gmail.com>
* tree-pretty-print.c (dump_escape_function): Print declarations
* ipa-stack-allocate.c (allocators): Changed type. Moved declaration
to run-time
(is_memory_allocation): Use new allocators
(is_null_pointer_exception, is_array_allocation)
(update_connection_graph_from_array_allocation): New functions
(update_connection_graph_from_assignment_to_indirect_array_ref)
(update_connection_graph_from_assignment_to_field)
(update_connection_graph_from_assignment_from_field): Change logic for
creation of phantom nodes
(update_connection_graph_from_assignment_from_field): Added more cases:
is_array_allocation and is_null_pointer_exception
(replace_array_with_alloca): New function (not properly tested)
(process_function): Moved alloca logic into new function
(replace_With_alloca): New function. Moved logic from process_function
(add_actual_parameters): Rename parameter_list variable to arg_list
(execute_ipa_stack_allocate): Added pretty printing of declarations
* con_graph.c (get_points_to): Minor formatting
(get_field_nodes): Added field nodes lazily for phantom nodes. Shortened
function with simpler equivalent logic
(print_stmt_type): Added default case
* con_graph.h (NEXT_LINK_CLEAR): New macro
(con_node_type): New enum value (IGNORED_NULL_POINTER_EXCEPTION)
* gcj/javaprims.h (_Jv_InitObjectNoFinalizer): Renamed from
_Jv_AllocaObjectNoFinalizer
* gcj/array.h (_Jv_InitNewObjectArray): New declaration
* java/lang/Class.h (_Jv_InitNewObjectNoFinalizer): Renamed from _Jv_AllocaObjectNoFinalizer
(java::lang:class): Added new friends: _Jv_InitObjectNoFinalizer and
_Jv_InitNewObjectArray
* prims.cc (_Jv_InitObjectNoFinalizer): Renamed from
_Jv_AllocaObjectNoFinalizer
(_Jv_InitNewObjectArray): New function
* decl.c (java_init_decl_processing): Added init_new_array_node.
Renamed alloca_no_finalizer_node to init_no_finalizer_node. Changed
parameters of init_no_finalizer_node.
* java-tree.h (JTI_INIT_NO_FINALIZER_NODE): Renamed from
JTI_ALLOC_NO_FINALIZER_NODE.
(JTI_INIT_NEW_ARRAY_NODE): New
(init_new_array_node): New
(init_no_finalizer_node): Renamed from alloca_no_finalizer_node
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
branches/escape-analysis/gcc/java/ChangeLog
branches/escape-analysis/gcc/java/decl.c
branches/escape-analysis/gcc/java/java-tree.h
branches/escape-analysis/gcc/tree-pretty-print.c
branches/escape-analysis/libjava/ChangeLog
branches/escape-analysis/libjava/gcj/array.h
branches/escape-analysis/libjava/gcj/javaprims.h
branches/escape-analysis/libjava/java/lang/Class.h
branches/escape-analysis/libjava/java/lang/Object.h
branches/escape-analysis/libjava/prims.cc