OSDN Git Service

* c-decl.c (c_expand_deferred_function): Remove.
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Feb 2004 23:25:15 +0000 (23:25 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Feb 2004 23:25:15 +0000 (23:25 +0000)
* c-tree.h: Remove the corresponding prototype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78528 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/c-decl.c
gcc/c-tree.h

index cc4ba4a..6184136 100644 (file)
@@ -1,5 +1,10 @@
 2004-02-26  Kazu Hirata  <kazu@cs.umass.edu>
 
+       * c-decl.c (c_expand_deferred_function): Remove.
+       * c-tree.h: Remove the corresponding prototype.
+
+2004-02-26  Kazu Hirata  <kazu@cs.umass.edu>
+
        * postreload.c (reload_cse_move2add): Generate just a PLUS
        instead of an entire SET.
 
index 0f76b88..01f1761 100644 (file)
@@ -6080,26 +6080,6 @@ finish_function (void)
   current_function_decl = NULL;
 }
 
-/* Generate the RTL for a deferred function FNDECL.  */
-
-void
-c_expand_deferred_function (tree fndecl)
-{
-  /* DECL_INLINE or DECL_RESULT might got cleared after the inline
-     function was deferred, e.g. in duplicate_decls.  */
-  if (DECL_INLINE (fndecl) && DECL_RESULT (fndecl))
-    {
-      if (flag_inline_trees)
-       {
-         timevar_push (TV_INTEGRATION);
-         optimize_inline_calls (fndecl);
-         timevar_pop (TV_INTEGRATION);
-       }
-      c_expand_body (fndecl);
-      current_function_decl = NULL;
-    }
-}
-
 /* Generate the RTL for the body of FNDECL.  If NESTED_P is nonzero,
    then we are already in the process of generating RTL for another
    function.  */
index 1de2e25..83592ac 100644 (file)
@@ -227,7 +227,6 @@ extern tree start_struct (enum tree_code, tree);
 extern void store_parm_decls (void);
 extern tree xref_tag (enum tree_code, tree);
 extern tree c_begin_compound_stmt (void);
-extern void c_expand_deferred_function (tree);
 extern void c_expand_decl_stmt (tree);
 extern void c_static_assembler_name (tree);
 extern tree make_pointer_declarator (tree, tree);