diff options
author | dj <dj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-07-10 05:03:01 +0000 |
---|---|---|
committer | dj <dj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-07-10 05:03:01 +0000 |
commit | 7c88e5139429d67cee9024435cad0d95b7d42307 (patch) | |
tree | 1db025e7528a5c185abb6b07197d9a5fa9b3fae9 /gcc/config/mep | |
parent | b2d83a62511ce18574a98f00fb4b0008153a83f6 (diff) | |
download | gcc-7c88e5139429d67cee9024435cad0d95b7d42307.tar.gz |
* targhooks.c (default_target_can_inline_p): Rename from
default_target_option_can_inline_p.
* targhooks.h (default_target_can_inline_p): Likewise.
* target-def.h (TARGET_CAN_INLINE_P): Rename from
TARGET_OPTION_CAN_INLINE_P.
* config/i386/i386.c (TARGET_CAN_INLINE_P): Likewise.
* config/mep/mep.c (TARGET_CAN_INLINE_P): Likewise.
(mep_target_can_inline_p): Rename from
mep_target_option_can_inline_p.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149457 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mep')
-rw-r--r-- | gcc/config/mep/mep.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/mep/mep.c b/gcc/config/mep/mep.c index 71755a34e19..59dbb8895cd 100644 --- a/gcc/config/mep/mep.c +++ b/gcc/config/mep/mep.c @@ -170,7 +170,7 @@ static tree mep_validate_interrupt (tree *, tree, tree, int, bool *); static tree mep_validate_io_cb (tree *, tree, tree, int, bool *); static tree mep_validate_vliw (tree *, tree, tree, int, bool *); static bool mep_function_attribute_inlinable_p (const_tree); -static bool mep_option_can_inline_p (tree, tree); +static bool mep_can_inline_p (tree, tree); static bool mep_lookup_pragma_disinterrupt (const char *); static int mep_multiple_address_regions (tree, bool); static int mep_attrlist_to_encoding (tree, tree); @@ -236,8 +236,8 @@ static tree mep_gimplify_va_arg_expr (tree, tree, tree *, tree *); #define TARGET_INSERT_ATTRIBUTES mep_insert_attributes #undef TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P #define TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P mep_function_attribute_inlinable_p -#undef TARGET_OPTION_CAN_INLINE_P -#define TARGET_OPTION_CAN_INLINE_P mep_option_can_inline_p +#undef TARGET_CAN_INLINE_P +#define TARGET_CAN_INLINE_P mep_can_inline_p #undef TARGET_SECTION_TYPE_FLAGS #define TARGET_SECTION_TYPE_FLAGS mep_section_type_flags #undef TARGET_ASM_NAMED_SECTION @@ -4110,7 +4110,7 @@ mep_function_attribute_inlinable_p (const_tree callee) } static bool -mep_option_can_inline_p (tree caller, tree callee) +mep_can_inline_p (tree caller, tree callee) { if (TREE_CODE (callee) == ADDR_EXPR) callee = TREE_OPERAND (callee, 0); |