c-objc-common.h (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Kill.
authorJan Hubicka <jh@suse.cz>
Wed, 12 Sep 2007 09:14:44 +0000 (11:14 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 12 Sep 2007 09:14:44 +0000 (09:14 +0000)
* c-objc-common.h (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Kill.

* f95-lang.c (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Kill.

* treetree.c (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Kill.
(treelang_expand_function): Kill.

From-SVN: r128421

gcc/ChangeLog
gcc/c-objc-common.h
gcc/fortran/ChangeLog
gcc/fortran/f95-lang.c
gcc/treelang/ChangeLog
gcc/treelang/treetree.c

index 2c1b6d5c3a1c730c21cfcbb629657ac1ca906365..1ac0d6a1ca77746fdd5e761917a71844565d67a8 100644 (file)
@@ -1,3 +1,7 @@
+2007-09-12  Jan Hubicka  <jh@suse.cz>
+
+       * c-objc-common.h (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Kill.
+
 2007-09-12  Ira Rosen  <irar@il.ibm.com>
 
        PR tree-optimization/32377
index 66b25b369236ee932b0a2c95f024d612d4ca227a..69fcf6cdfccf406d4d2f6cff512cdaa6da000d17 100644 (file)
@@ -88,9 +88,6 @@ extern void c_initialize_diagnostics (diagnostic_context *);
 #undef LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN
 #define LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN c_dump_tree
 
-#undef LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION
-#define LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION c_expand_body
-
 #undef LANG_HOOKS_TYPE_FOR_MODE
 #define LANG_HOOKS_TYPE_FOR_MODE c_common_type_for_mode
 #undef LANG_HOOKS_TYPE_FOR_SIZE
index c17cac4c499c3f5e786b6970050ddfa5a8b6aa95..c6c9ff87e90acfe2b4d0fe1c1f2ca75f29e93231 100644 (file)
@@ -1,3 +1,7 @@
+2007-09-12  Jan Hubicka  <jh@suse.cz>
+
+       * f95-lang.c (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Kill.
+
 2007-09-12  Christopher D. Rickett  <crickett@lanl.gov>
 
        PR fortran/33395
index c5c602bcc81dfdef117392dc8e5c72203f67bcb8..ce499919e67921cc6d190424bc187a179d4430a7 100644 (file)
@@ -111,7 +111,6 @@ static alias_set_type gfc_get_alias_set (tree);
 #undef LANG_HOOKS_MARK_ADDRESSABLE
 #undef LANG_HOOKS_TYPE_FOR_MODE
 #undef LANG_HOOKS_TYPE_FOR_SIZE
-#undef LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION
 #undef LANG_HOOKS_CLEAR_BINDING_STACK
 #undef LANG_HOOKS_GET_ALIAS_SET
 #undef LANG_HOOKS_OMP_PRIVATIZE_BY_REFERENCE
index d98c1c4c85aa02402ff24bcdb405156ef8049281..f39d5c318d3f64e8ab3669bdee60925af4409547 100644 (file)
@@ -1,3 +1,8 @@
+2007-09-12  Jan Hubicka  <jh@suse.cz>
+
+       * treetree.c (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Kill.
+       (treelang_expand_function): Kill.
+
 2007-09-06  Tom Tromey  <tromey@redhat.com>
 
        * tree1.c (treelang_init): Update.
index dd4489b42a82d73575c318753de39a8d34603154..54e5ada376bb5ccc3bca1f89aa2e533e6c268e8e 100644 (file)
@@ -141,7 +141,6 @@ static int global_bindings_p (void);
 static void insert_block (tree);
 
 static void tree_push_type_decl (tree id, tree type_node);
-static void treelang_expand_function (tree fndecl);
 
 /* The front end language hooks (addresses of code for this front
    end).  These are not really very language-dependent, i.e.
@@ -158,9 +157,6 @@ static void treelang_expand_function (tree fndecl);
 #undef LANG_HOOKS_ATTRIBUTE_TABLE
 #define LANG_HOOKS_ATTRIBUTE_TABLE treelang_attribute_table
 
-#undef LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION
-#define LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION treelang_expand_function
-
 /* #undef LANG_HOOKS_TYPES_COMPATIBLE_P
 #define LANG_HOOKS_TYPES_COMPATIBLE_P hook_bool_tree_tree_true
 */
@@ -1184,14 +1180,5 @@ const struct attribute_spec treelang_attribute_table[] =
   { NULL, 0, 0, false, false, false, NULL },
 };
 
-/* Treelang expand function langhook.  */
-
-static void
-treelang_expand_function (tree fndecl)
-{
-  /* We have nothing special to do while expanding functions for treelang.  */
-  tree_rest_of_compilation (fndecl);
-}
-
 #include "debug.h" /* for debug_hooks, needed by gt-treelang-treetree.h */
 #include "gt-treelang-treetree.h"