diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-06-09 16:23:47 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-06-09 16:23:47 +0000 |
commit | a6260fc7cbd357861d5a9b52ece9180843c26ebe (patch) | |
tree | 0298128e12299bf28f76cc3ef5ad263e2fa59173 /gcc/calls.c | |
parent | ec0a21033a8b56a7d188dd98e50264dc5f2393fd (diff) | |
download | gcc-a6260fc7cbd357861d5a9b52ece9180843c26ebe.tar.gz |
* timevar.def: Add TV_EXPAND.
* timevar.c (timevar_print): Update timing information.
* calls.c (try_to_integrate): Push to TV_INTEGRATION for inlining.
* stmt.c (expand_return): Check for error_mark_node.
cp/:
* semantics.c (expand_body): Push to TV_EXPAND.
* optimize.c (optimize_function): Push to TV_INTEGRATION.
* decl.c (start_function): Always call announce_function.
* tinfo2.cc: Just declare abort.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34470 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/calls.c')
-rw-r--r-- | gcc/calls.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/calls.c b/gcc/calls.c index 3d49d3e60ec..27bd5fc9de0 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -31,6 +31,7 @@ Boston, MA 02111-1307, USA. */ #include "toplev.h" #include "output.h" #include "tm_p.h" +#include "timevar.h" #ifndef ACCUMULATE_OUTGOING_ARGS #define ACCUMULATE_OUTGOING_ARGS 0 @@ -1733,7 +1734,7 @@ load_register_parameters (args, num_actuals, call_fusage, flags) } } -/* Try to integreate function. See expand_inline_function for documentation +/* Try to integrate function. See expand_inline_function for documentation about the parameters. */ static rtx @@ -1761,10 +1762,14 @@ try_to_integrate (fndecl, actparms, target, ignore, type, structure_value_addr) before_call = get_last_insn (); + timevar_push (TV_INTEGRATION); + temp = expand_inline_function (fndecl, actparms, target, ignore, type, structure_value_addr); + timevar_pop (TV_INTEGRATION); + /* If inlining succeeded, return. */ if (temp != (rtx) (HOST_WIDE_INT) - 1) { |