* arm.c (thumb_force_lr_save): Add prototype.
(thumb_compute_save_reg_mask): New function. (thumb_find_work_register): New function. (arm_get_frame_offsets): Use thumb_compute_save_reg_mask. (thumb_unexpanded_epilogue): Ditto. Remove redundant code. Don't clobber r3 when removing pretend args. (thumb_expand_prologue): Use thumb_compute_save_reg_mask. (thumb_output_function_prologue): Use new functions. (thumb_set_return_address): Use thumb_compute_save_reg_mask. * arm.h (THUMB_REG_PUSHED_P): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85818 138bc75d-0d04-0410-961f-82ee72b054a4
Loading
Please register or sign in to comment