diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-02-26 11:09:33 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-02-26 11:09:33 +0000 |
commit | 376c21d14b45d40b6e8a1798e851c03eb700b560 (patch) | |
tree | ddc33e157eac05f7cef3bb3604e16a7dd67cba78 /gcc/regclass.c | |
parent | e5444139599a72baa4c3be9fe93470f8c2f06ae9 (diff) | |
download | gcc-376c21d14b45d40b6e8a1798e851c03eb700b560.tar.gz |
* 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
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63464 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/regclass.c')
-rw-r--r-- | gcc/regclass.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/regclass.c b/gcc/regclass.c index fe6f0a775e2..abbd6eabe3d 100644 --- a/gcc/regclass.c +++ b/gcc/regclass.c @@ -43,6 +43,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include "toplev.h" #include "output.h" #include "ggc.h" +#include "timevar.h" #ifndef REGISTER_MOVE_COST #define REGISTER_MOVE_COST(m, x, y) 2 @@ -2338,6 +2339,8 @@ reg_scan (f, nregs, repeat) max_parallel = 3; max_set_parallel = 0; + timevar_push (TV_REG_SCAN); + for (insn = f; insn; insn = NEXT_INSN (insn)) if (GET_CODE (insn) == INSN || GET_CODE (insn) == CALL_INSN @@ -2353,6 +2356,8 @@ reg_scan (f, nregs, repeat) } max_parallel += max_set_parallel; + + timevar_pop (TV_REG_SCAN); } /* Update 'regscan' information by looking at the insns |