diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-03-03 23:55:52 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-03-03 23:55:52 +0000 |
commit | 0fb2666c490bdf52cb07a655acf271f9093cd410 (patch) | |
tree | 8bbdd20f2db68edcbad7b5407da0d4c5ce549749 /gcc/hooks.c | |
parent | c3db176afa2ff0afa4d502ac46ba37a995ef342b (diff) | |
download | gcc-0fb2666c490bdf52cb07a655acf271f9093cd410.tar.gz |
* hooks.c (hook_tree_tree_identity): New.
* hooks.h: Add a prototype for hook_tree_tree_identity.
* stmt.c (expand_asm_operands): Use targetm.md_asm_clobbers
instead of MD_ASM_CLOBBERS.
* system.h (MD_ASM_CLOBBERS): Poison.
* target-def.h (TARGET_MD_ASM_CLOBBERS): New.
(TARGET_INITIALIZER): Add TARGET_MD_ASM_CLOBBERS.
* target.h (gcc_target): Add md_asm_clobbers.
* config/i386/i386.c (TARGET_MD_ASM_CLOBBERS): New.
(ix86_md_asm_clobbers): New.
* config/i386/i386.h (MD_ASM_CLOBBERS): Remove.
* doc/tm.texi (MD_ASM_CLOBBERS): Change to
TARGET_MD_ASM_CLOBBERS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78868 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/hooks.c')
-rw-r--r-- | gcc/hooks.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/hooks.c b/gcc/hooks.c index 090a45aba29..ef90ce131c3 100644 --- a/gcc/hooks.c +++ b/gcc/hooks.c @@ -209,3 +209,10 @@ hook_bool_voidp_size_t_false (void * a ATTRIBUTE_UNUSED, { return false; } + +/* Generic hook that takes a tree and returns it as is. */ +tree +hook_tree_tree_identity (tree a) +{ + return a; +} |