From 278ed2183f3ebbcf4e8f1bde74ae7e7f77396401 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Mon, 27 Aug 2001 10:36:20 -0700 Subject: function.c (expand_function_end): Don't init arg_pointer_save_area. * function.c (expand_function_end): Don't init arg_pointer_save_area. (get_arg_pointer_save_area): New. Create an init it here. (fix_lexical_addr): Use it. * function.h: Declare it. * builtins.c (expand_builtin_setjmp_receiver): Use it. * stmt.c (expand_nl_goto_receiver): Use it. From-SVN: r45200 --- gcc/stmt.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'gcc/stmt.c') diff --git a/gcc/stmt.c b/gcc/stmt.c index 0a15a4a..123c9d3 100644 --- a/gcc/stmt.c +++ b/gcc/stmt.c @@ -3490,16 +3490,9 @@ expand_nl_goto_receiver () #endif { /* Now restore our arg pointer from the address at which it - was saved in our stack frame. - If there hasn't be space allocated for it yet, make - some now. */ - if (arg_pointer_save_area == 0) - arg_pointer_save_area - = assign_stack_local (Pmode, GET_MODE_SIZE (Pmode), 0); + was saved in our stack frame. */ emit_move_insn (virtual_incoming_args_rtx, - /* We need a pseudo here, or else - instantiate_virtual_regs_1 complains. */ - copy_to_reg (arg_pointer_save_area)); + copy_to_reg (get_arg_pointer_save_area (cfun))); } } #endif -- cgit v1.1