aboutsummaryrefslogtreecommitdiff
path: root/gcc/calls.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2001-11-21 12:13:14 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2001-11-21 12:13:14 +0100
commit1258ee8070967d846e414cfc231cdb39b5de7c69 (patch)
tree414698f86b343b20d34cda0513e9b67a6e76c493 /gcc/calls.c
parent83dea45d59b06dc8d99c78e471f97957c54105eb (diff)
downloadgcc-1258ee8070967d846e414cfc231cdb39b5de7c69.zip
gcc-1258ee8070967d846e414cfc231cdb39b5de7c69.tar.gz
gcc-1258ee8070967d846e414cfc231cdb39b5de7c69.tar.bz2
explow.c (probe_stack_range): Use LCT_NORMAL as second argument to emit_library_call.
* explow.c (probe_stack_range): Use LCT_NORMAL as second argument to emit_library_call. * function.c (expand_main_function, expand_function_start, expand_function_end): Likewise. * profile.c (output_func_start_profiler): Likewise. * stmt.c (expand_nl_goto_receivers): Use LCT_NORETURN as second argument to emit_library_call. * optabs.c (prepare_cmp_insn): Use LCT_CONST_MAKE_BLOCK as second argument to emit_library_call. * calls.c (emit_library_call): Update fn_type description. From-SVN: r47241
Diffstat (limited to 'gcc/calls.c')
-rw-r--r--gcc/calls.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/gcc/calls.c b/gcc/calls.c
index d86b0e0..8b3b969 100644
--- a/gcc/calls.c
+++ b/gcc/calls.c
@@ -4198,10 +4198,12 @@ emit_library_call_value_1 (retval, orgfun, value, fn_type, outmode, nargs, p)
and machine_modes to convert them to.
The rtx values should have been passed through protect_from_queue already.
- FN_TYPE will be zero for `normal' calls, one for `const' calls,
- which will be enclosed in REG_LIBCALL/REG_RETVAL notes, and two for
- `pure' calls, that are handled like `const' calls with extra
- (use (memory (scratch)). */
+ FN_TYPE should be LCT_NORMAL for `normal' calls, LCT_CONST for `const'
+ calls, LCT_PURE for `pure' calls, LCT_CONST_MAKE_BLOCK for `const' calls
+ which should be enclosed in REG_LIBCALL/REG_RETVAL notes,
+ LCT_PURE_MAKE_BLOCK for `purep' calls which should be enclosed in
+ REG_LIBCALL/REG_RETVAL notes with extra (use (memory (scratch)),
+ or other LCT_ value for other types of library calls. */
void
emit_library_call VPARAMS((rtx orgfun, enum libcall_type fn_type,