From 0d446150c298b2048d18e354ee47b130ed3b8e7f Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Wed, 26 Feb 2003 12:09:33 +0100 Subject: objc-act.c: Include cgraph.h * objc-act.c: Include cgraph.h (mark_referenced_methods): New function. (objc_init): Call it. * objc-lang.c (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Set. * c-decl.c (finish_function): Honor can_defer_p even in unit-at-a-time mode. * optabs.c (expand_fix): Do not widen the input operand. * expr.c (emit_group_store): Fix crash when converting single register into complex register. * Makefile.in (jump.o, regclass.o, alias.o): Add dependency on timevar.h * alias.c: Include timevar.h (init_alias_analysis): Set timevar * jump.c: Include timevar.h (rebuild_jump_labels): Set timevar * regcalss.c: Include timevar.h (reg_scan): Set timevar * timevar.def (TV_ALIAS_ANALYSIS, TV_REG_SCAN, TV_REBUILD_JUMP): New From-SVN: r63464 --- gcc/jump.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gcc/jump.c') diff --git a/gcc/jump.c b/gcc/jump.c index e18abef51a7..15c9d36618f 100644 --- a/gcc/jump.c +++ b/gcc/jump.c @@ -53,6 +53,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include "toplev.h" #include "reload.h" #include "predict.h" +#include "timevar.h" /* Optimize jump y; x: ... y: jumpif... x? Don't know if it is worth bothering with. */ @@ -82,6 +83,7 @@ rebuild_jump_labels (f) { rtx insn; + timevar_push (TV_REBUILD_JUMP); init_label_info (f); mark_all_labels (f); @@ -92,6 +94,7 @@ rebuild_jump_labels (f) for (insn = forced_labels; insn; insn = XEXP (insn, 1)) if (GET_CODE (XEXP (insn, 0)) == CODE_LABEL) LABEL_NUSES (XEXP (insn, 0))++; + timevar_pop (TV_REBUILD_JUMP); } /* Some old code expects exactly one BARRIER as the NEXT_INSN of a -- cgit v1.2.1