calls.c (emit_library_call_value_1): Add to call_fusage the stack slot assigned to argument passed by reference.
* calls.c (emit_library_call_value_1): Add to call_fusage the stack slot assigned to argument passed by reference. From-SVN: r38523
This commit is contained in:
parent
cd372c39a8
commit
6b5273c31e
|
@ -1,3 +1,8 @@
|
|||
2000-12-29 Alexandre Oliva <aoliva@redhat.com>
|
||||
|
||||
* calls.c (emit_library_call_value_1): Add to call_fusage the
|
||||
stack slot assigned to argument passed by reference.
|
||||
|
||||
2000-12-28 Jeffrey Oldham <oldham@codesourcery.com>
|
||||
|
||||
* toplev.h (extern really_sorry): Remove extern declaration for
|
||||
|
|
|
@ -3667,6 +3667,9 @@ emit_library_call_value_1 (retval, orgfun, value, fn_type, outmode, nargs, p)
|
|||
/* We do not support FUNCTION_ARG_CALLEE_COPIES here since it can
|
||||
be viewed as just an efficiency improvement. */
|
||||
rtx slot = assign_stack_temp (mode, GET_MODE_SIZE (mode), 0);
|
||||
call_fusage = gen_rtx_EXPR_LIST (VOIDmode,
|
||||
gen_rtx_USE (VOIDmode, slot),
|
||||
call_fusage);
|
||||
emit_move_insn (slot, val);
|
||||
val = force_operand (XEXP (slot, 0), NULL_RTX);
|
||||
mode = Pmode;
|
||||
|
|
Loading…
Reference in New Issue