aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/crx
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/crx')
-rw-r--r--gcc/config/crx/crx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/crx/crx.c b/gcc/config/crx/crx.c
index 5be938b..9e8c3a9 100644
--- a/gcc/config/crx/crx.c
+++ b/gcc/config/crx/crx.c
@@ -318,7 +318,7 @@ crx_compute_frame (void)
local_vars_size += padding_locals;
size_for_adjusting_sp = local_vars_size + (ACCUMULATE_OUTGOING_ARGS ?
- current_function_outgoing_args_size : 0);
+ crtl->outgoing_args_size : 0);
}
/* Implements the macro INITIAL_ELIMINATION_OFFSET, return the OFFSET. */
@@ -334,13 +334,13 @@ crx_initial_elimination_offset (int from, int to)
if ((from) == FRAME_POINTER_REGNUM && (to) == STACK_POINTER_REGNUM)
return (ACCUMULATE_OUTGOING_ARGS ?
- current_function_outgoing_args_size : 0);
+ crtl->outgoing_args_size : 0);
else if ((from) == ARG_POINTER_REGNUM && (to) == FRAME_POINTER_REGNUM)
return (sum_regs + local_vars_size);
else if ((from) == ARG_POINTER_REGNUM && (to) == STACK_POINTER_REGNUM)
return (sum_regs + local_vars_size +
(ACCUMULATE_OUTGOING_ARGS ?
- current_function_outgoing_args_size : 0));
+ crtl->outgoing_args_size : 0));
else
abort ();
}