diff options
author | pbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-04 12:22:42 +0000 |
---|---|---|
committer | pbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-04 12:22:42 +0000 |
commit | eaa112a05f719b80174753802d1d0bf665972653 (patch) | |
tree | 8c306782503db9a3eda1fbfd9d593004b11e369d /gcc/cp/method.c | |
parent | 78325258657da80c84000aee0a87eb596db57636 (diff) | |
download | gcc-eaa112a05f719b80174753802d1d0bf665972653.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77244 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/method.c')
-rw-r--r-- | gcc/cp/method.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cp/method.c b/gcc/cp/method.c index 6acab3a902f..802bf1d6f3c 100644 --- a/gcc/cp/method.c +++ b/gcc/cp/method.c @@ -487,6 +487,7 @@ use_thunk (tree thunk_fndecl, bool emit_p) t = tree_cons (NULL_TREE, a, t); t = nreverse (t); t = build_call (alias, t); + CALL_FROM_THUNK_P (t) = 1; if (VOID_TYPE_P (TREE_TYPE (t))) finish_expr_stmt (t); |