aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2004-07-13 01:22:03 -0700
committerRichard Henderson <rth@gcc.gnu.org>2004-07-13 01:22:03 -0700
commit0976078c73f58e7350fcc0516618fdd7737c9696 (patch)
tree9ce1ffbe5f574651dfe2baa17807ad50e4394b8d /gcc/function.h
parentfe9841365eb7e2908f9ba6b18a85910ee9024a54 (diff)
downloadgcc-0976078c73f58e7350fcc0516618fdd7737c9696.zip
gcc-0976078c73f58e7350fcc0516618fdd7737c9696.tar.gz
gcc-0976078c73f58e7350fcc0516618fdd7737c9696.tar.bz2
function.c (pass_by_reference): New.
* function.c (pass_by_reference): New. (assign_parm_find_data_types): Use it. * calls.c (initialize_argument_information): Likewise. (emit_library_call_value_1): Likewise. * expr.h (FUNCTION_ARG_PASS_BY_REFERENCE): Remove. * function.h (pass_by_reference): Declare. ada/ * misc.c (default_pass_by_ref): Use pass_by_reference. From-SVN: r84607
Diffstat (limited to 'gcc/function.h')
-rw-r--r--gcc/function.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/function.h b/gcc/function.h
index a90a500..5ac7731 100644
--- a/gcc/function.h
+++ b/gcc/function.h
@@ -556,4 +556,7 @@ extern void init_function_once (void);
extern void do_warn_unused_parameter (tree);
+extern bool pass_by_reference (CUMULATIVE_ARGS *, enum machine_mode,
+ tree, bool);
+
#endif /* GCC_FUNCTION_H */