diff options
author | Mark Mitchell <mark@codesourcery.com> | 2004-02-04 12:22:42 +0000 |
---|---|---|
committer | Paul Brook <pbrook@gcc.gnu.org> | 2004-02-04 12:22:42 +0000 |
commit | dd292d0ad8022964b57aba763b9abce9564ac14f (patch) | |
tree | 8c306782503db9a3eda1fbfd9d593004b11e369d /gcc/function.h | |
parent | 18d0ecb6ec0d462b185a4fa340952a040b5c6f9e (diff) | |
download | gcc-dd292d0ad8022964b57aba763b9abce9564ac14f.tar.gz |
calls.c (initialize_argument_information): Add CALL_FROM_THUNK_P parameter.
* calls.c (initialize_argument_information): Add CALL_FROM_THUNK_P
parameter. Use it instead of current_function_is_thunk.
* function.h (struct function): Update documentation for is_thunk.
* tree.h (CALL_FROM_THUNK_P): New macro.
* config/alpha/alpha.c (alpha_sa_mask): Do not check
no_new_pseudos when testing current_function_is_thunk.
* config/rs6000/rs6000.c (rs6000_ra_ever_killed): Likeiwse.
* decl.c (cxx_push_function_context): Do not set
current_function_is_thunk.
* method.c (use_thunk): Set CALL_FROM_THUNK on the call to the
actual function.
From-SVN: r77244
Diffstat (limited to 'gcc/function.h')
-rw-r--r-- | gcc/function.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/function.h b/gcc/function.h index 2bf68caa581..1e5c56fb845 100644 --- a/gcc/function.h +++ b/gcc/function.h @@ -457,9 +457,10 @@ struct function GTY(()) /* Nonzero if the function being compiled issues a computed jump. */ unsigned int has_computed_jump : 1; - /* Nonzero if the current function is a thunk (a lightweight function that - just adjusts one of its arguments and forwards to another function), so - we should try to cut corners where we can. */ + /* Nonzero if the current function is a thunk, i.e., a lightweight + function implemented by the output_mi_thunk hook) that just + adjusts one of its arguments and forwards to another + function. */ unsigned int is_thunk : 1; /* This bit is used by the exception handling logic. It is set if all |