diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2004-02-05 22:07:33 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2004-02-05 22:07:33 +0000 |
commit | 136e64db5ea4eda85d7a9916d3ae9f4fa528b1e3 (patch) | |
tree | 37419ddcaadd888777ea3df662e86983cd2a9346 /gcc/cp/call.c | |
parent | 839ee4bc570bf56df913d37a4fa3ab9fb6e5956e (diff) | |
download | gcc-136e64db5ea4eda85d7a9916d3ae9f4fa528b1e3.zip gcc-136e64db5ea4eda85d7a9916d3ae9f4fa528b1e3.tar.gz gcc-136e64db5ea4eda85d7a9916d3ae9f4fa528b1e3.tar.bz2 |
utils.c (create_param_decl): Replace PROMOTE_PROTOTYPES with targetm.calls.promote_prototypes.
ada/
* ada/utils.c (create_param_decl): Replace PROMOTE_PROTOTYPES
with targetm.calls.promote_prototypes.
gcc/
* config/cris/cris.h: Replace PROMOTE_PROTOTYPES with
TARGET_PROMOTE_PROTOTYPES.
cp/
* call.c (type_passed_as): Replace PROMOTE_PROTOTYPES with
targetm.calls.promote_prototypes.
java/
* Make-lang.in (java/decl.o, java/expr.o, java/parse.o):
Depend on target.h.
* decl.c: Include target.h.
(start_java_method): Replace PROMOTE_PROTOTYPES with
targetm.calls.promote_prototypes.
* expr.c: Include target.h.
(pop_arguments): Replace PROMOTE_PROTOTYPES with
targetm.calls.promote_prototypes.
* parse.y: Include target.h.
(start_complete_expand_method): Replace PROMOTE_PROTOTYPES
with targetm.calls.promote_prototypes.
From-SVN: r77345
Diffstat (limited to 'gcc/cp/call.c')
-rw-r--r-- | gcc/cp/call.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/call.c b/gcc/cp/call.c index e6eded5..15382dc 100644 --- a/gcc/cp/call.c +++ b/gcc/cp/call.c @@ -4245,7 +4245,7 @@ type_passed_as (tree type) /* Pass classes with copy ctors by invisible reference. */ if (TREE_ADDRESSABLE (type)) type = build_reference_type (type); - else if (PROMOTE_PROTOTYPES + else if (targetm.calls.promote_prototypes (type) && INTEGRAL_TYPE_P (type) && COMPLETE_TYPE_P (type) && INT_CST_LT_UNSIGNED (TYPE_SIZE (type), @@ -4265,7 +4265,7 @@ convert_for_arg_passing (tree type, tree val) /* Pass classes with copy ctors by invisible reference. */ else if (TREE_ADDRESSABLE (type)) val = build1 (ADDR_EXPR, build_reference_type (type), val); - else if (PROMOTE_PROTOTYPES + else if (targetm.calls.promote_prototypes (type) && INTEGRAL_TYPE_P (type) && COMPLETE_TYPE_P (type) && INT_CST_LT_UNSIGNED (TYPE_SIZE (type), |