* c-common.c, c-common.h (back_end_hook): Remove.
* c-lang.c (finish_file): Remove back_end_hook.
cp:
* decl2.c (finish_file): Remove back_end_hook.
From-SVN: r48079
+2001-12-16 Neil Booth <neil@daikokuya.demon.co.uk>
+
+ * c-common.c, c-common.h (back_end_hook): Remove.
+ * c-lang.c (finish_file): Remove back_end_hook.
+
Sun Dec 16 13:13:01 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* expr.c (highest_pow2_factor, case INTEGER_CST): Fix error in
any action required right before expand_function_end is called. */
void (*lang_expand_function_end) PARAMS ((void));
-/* If this variable is defined to a non-NULL value, it will be called
- after the file has been completely parsed. */
-void (*back_end_hook) PARAMS ((tree));
-
/* Nonzero means the expression being parsed will never be evaluated.
This is a count, since unevaluated expressions can nest. */
int skip_evaluation;
different implementations. Used in c-common.c. */
extern tree lookup_label PARAMS ((tree));
-/* If this variable is defined to a non-NULL value, it will be called
- after the file has been completely parsed. The argument will be
- the GLOBAL_NAMESPACE in C++, or the list of top-level declarations
- in C. */
-extern void (*back_end_hook) PARAMS ((tree));
-
/* enum expand_modified is in expr.h, as is the macro below. */
#ifdef QUEUED_VAR
finish_cdtor (body);
}
- if (back_end_hook)
- (*back_end_hook) (getdecls ());
-
{
int flags;
FILE *stream = dump_begin (TDI_all, &flags);
+2001-12-16 Neil Booth <neil@daikokuya.demon.co.uk>
+
+ * decl2.c (finish_file): Remove back_end_hook.
+
2001-12-16 Joseph S. Myers <jsm28@cam.ac.uk>
* ChangeLog.1, ChangeLog.2, ChangeLog, NEWS, call.c, class.c,
}
}
- /* If there's some tool that wants to examine the entire translation
- unit, let it do so now. */
- if (back_end_hook)
- (*back_end_hook) (global_namespace);
-
timevar_pop (TV_VARCONST);
if (flag_detailed_statistics)