diff options
author | ktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-28 11:58:35 +0000 |
---|---|---|
committer | ktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-28 11:58:35 +0000 |
commit | acd6f472dd0e06dc096af25ddd7572a60dad8e1d (patch) | |
tree | c3d191d473097e189086bc6f9d252e42b7ae28ce /gcc/target.h | |
parent | 2a32346375427d92dfcdb5d4091e825eda4a5500 (diff) | |
download | gcc-acd6f472dd0e06dc096af25ddd7572a60dad8e1d.tar.gz |
2010-05-28 Kai Tietz <kai.tietz@onevision.com>
* c-common.c (c_common_nodes_and_builtins): Replace use
of TARGET_ENUM_VA_LIST by target hook enum_va_list.
* config/i386/i386.c (TARGET_ENUM_VA_LIST_P): Hook
to ix86_enum_va_list.
* config/i386/i386.h (TARGET_ENUM_VA_LIST): Removed.
* doc/tm.texi (TARGET_ENUM_VA_LIST): Removed.
(TARGET_ENUM_VA_LIST_P): Add hook description.
* target-def.h (TARGET_ENUM_VA_LIST_P): Added.
* target.h (gcc_target): Add enum_va_list hook.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159966 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/target.h')
-rw-r--r-- | gcc/target.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/target.h b/gcc/target.h index 6f045da1299..e17cc21f9fc 100644 --- a/gcc/target.h +++ b/gcc/target.h @@ -844,6 +844,9 @@ struct gcc_target /* Create the __builtin_va_list type. */ tree (* build_builtin_va_list) (void); + /* Enumerate the va list variants. */ + int (* enum_va_list) (int, const char **, tree *); + /* Get the cfun/fndecl calling abi __builtin_va_list type. */ tree (* fn_abi_va_list) (tree); |